It looks like the stream socket transport you're using doesn't exist. try with sslv3 or sslv2 encryption method:
transport: class: Swift_SmtpTransport param: host: smtp.gmail.com port: 465 encryption: sslv3 username: x...@gmail.com password: ******************************** On 5 nov, 13:24, hribo <hribo...@gmail.com> 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: x...@gmail.com > 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en