My error report configuration is already set to 'E_ALL' :-) When I write "new Swift(new Swift_Connection_NativeMail())" the `echo` is printed on the screen... but not with new Swift_Connection_SMTP (....) ...
-- Adrien On 15 avr, 18:07, FÁSI Gábor <[email protected]> wrote: > Put an `error_reporting(E_ALL);` before the code, and you'll get the > error message on the output, not just the error log. > > On Wed, Apr 15, 2009 at 17:37, Adrien Mogenet <[email protected]> > wrote: > > > I performed a test using `class_exists()` and Swift class seems to be > > correctly loaded... > > > -- > > Adrien > > > On 15 avr, 17:34, Pablo Godel <[email protected]> wrote: > >> did you try another connection method? It is possible that PHP is not > >> finding the class. > > >> On Wed, Apr 15, 2009 at 11:31 AM, Adrien Mogenet > > >> <[email protected]> wrote: > > >> > I tried to move the `echo`, and the error occurs just after the new > >> > Swift() line... > >> > I'll checked my error log, it's still empty :-X > >> > I also tried to use ENC_TLS instead of using ENC_SSL > > >> > -- > >> > Adrien > > >> > On 15 avr, 17:24, Pablo Godel <[email protected]> wrote: > >> >> did you check your PHP error log ? It seems to me you are getting a > >> >> PHP fatal error before echo. > > >> >> If for some reason you can't see the error log, try to move the echo > >> >> line up until you find it, then you will know on what line the error > >> >> is. > > >> >> Pablo > > >> >> On Wed, Apr 15, 2009 at 11:20 AM, Adrien Mogenet > > >> >> <[email protected]> wrote: > > >> >> > Hi all, > > >> >> > I'm trying to use Symfony 1.2 with Swift and I got a strange issue.. > > >> >> > $methodObject = new Swift_Connection_SMTP('smtp.gmail.com', 465, > >> >> > Swift_Connection_SMTP::ENC_SSL); > >> >> > $methodObject->setUsername('[email protected]'); > >> >> > $methodObject->setPassword('PWD'); > >> >> > $mailer = new Swift($methodObject); > >> >> > echo "foo"; > > >> >> > and `foo` doesn't appear, and I'm not able to send emails... I don't > >> >> > know why :-( > >> >> > Does someone got a similar problem ? > > >> >> > -- > >> >> > Adrien --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
