PHPMailer - Unable to find the socket transport "ssl" on WAMP issue? | Solved

SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?

Are you facing the above error from PHPmailer of any other script which you want to use SSL?. The reason for this error is by default SSL is not configured on wamp. You have to manually configure it as below.

1. Enable SSL Service Module on apache 

Left click on WAMP icon > Apache > Apache modules > ssl_module (click on this)

2. Enable SSL extension from PHP.ini 

Left click on WAMP icon > PHP > php.ini

When the file is leaded from your default text editor search for " ;extension=php_openssl.dll " (without quotes) and remove the front semicolon, save the file, close it and restart the WAMP server.

Now retry your script to see if it is working.

Don't forget to leave a comment.


  1. This comment has been removed by the author.

  2. Expanding companies create the need for fast and reliable transportation of goods internationally, over large more

  3. Street transport is totally unique in relation to different modes as it enables a vehicle client to have finish flexibility over speed, heading, timings of travel and change of area that other transport strategies can't removalist

  4. To make the vehicle easier to inspect, you should ensure that the vehicle is thoroughly clean.john deere d110

  5. Thank you for providing an article for this common problem that I usually encounter. It might look simple at first, but it's hard to solve. Thank you for the well-detailed information and providing steps how to do it, click here

  6. airplanes and aircraft have reduced travel times considerably and is the fastest mode of passenger and goods transport. move it move it

  7. There are many models and styles of tipping semi trailers. Understanding the differences between each type is the best way to match the right tipper to the right job. T.C. Tippers

  8. Hey, Wow All the Posts Are Very Informative for the People Who Visit This Site. Good Work! Thank You for Sharing.
    Joomla training in chennai

  9. The Peridot Pedant is unique collection of jewlry design.

    Visit website for more details silver jewelry