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

Reply via email to