What's your task code look like?

On Nov 5, 2010 8:24 AM, "hribo" <[email protected]> wrote:

i would like to ask you for the way to send email from the task. i
know there are plenty of discussions showing how to do it.
but i have actually problem when i am sending my emails, and this
error shows up:

Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465
(Unable to find the socket transport "ssl" - did you forget to enable
it when you configured PHP?) in C:\wamp\www\my_sites\_SYMFONY
\symfony-1.4.3\lib\vendor\swiftmailer\classes\Swift\Transport
\StreamBuffer.php on line 233


 Connection could not be established with host smtp.gmail.com [Unable
to find the socket transport "ssl" - did you forget to enable it when
you configured PHP? #274232]


my factories.yml is set correctly for sure, because when i am sending
emails not from tasks, IT WORKS. just not through task.
     transport:
       class: Swift_SmtpTransport
       param:
         host: smtp.gmail.com
         port: 465
         encryption: ssl
         username: [email protected]
         password: ********************************

i have also looked on my phpinfo() function and there i have already
allowed SSL:
Registered Stream Socket Transports     tcp, udp, ssl, sslv3, sslv2, tls

do you know where is the problem?
thank you

--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com

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]<symfony-users%[email protected]>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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