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
-~----------~----~----~----~------~----~------~--~---

Reply via email to