Enabling SSL Socket for Sending Email via SMTP

I keep getting this error whenever I want to run tutorial created by Jeffery http://net.tutsplus.com/articles/news/codeigniter-from-scratch-day-3/

A PHP Error was encountered
Severity: Warning
Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.googlemail.com:465 (Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?)
Filename: libraries/Email.php
Line Number: 1652

Based on cursory research, I try to fix it by enabling php_openssl from my wamp’s php.ini … and it works like charm.

One thought on “Enabling SSL Socket for Sending Email via SMTP

  1. geoge echo

    hai,.. I have tried your way on top but still it failed. Is there another way to enable ssl in php?

    if there is, please send to my email.
    thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>