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. You must go through the portfolio of the transportation services company to check the quality of services that have been delivered in the past. This website

  2. This means that you have to ensure that no damage like scratches or even dent appear as they are sent even from the main manufacturing unit of the vehicles to the distribution center.

  3. Important considerations before choosing container transport company in Brisbane.......
    car shipping

  4. Before the Industrial Revolution and modernization, water transport was the most efficient method of transporting large quantities of goods over long distances though it was very slow and expensive.automoves

  5. The government owns massive amounts of assets for its own functioning. In addition to this, a large amount of goods and assets come under the possession of the government through various regulations and law.