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.

Recent Posts

How do I create an engaging and informative online quiz or assessment?

Creating an engaging and informative online quiz or assessment can be a powerful tool for… Read More

8 months ago

What are the most effective methods for managing and reducing work-related stress in the hospitality industry?

Work-related stress is a common issue in the hospitality industry, where employees often face long… Read More

8 months ago

How can I improve my assertiveness and communication skills in a leadership position?

In a leadership position, assertiveness and effective communication skills are crucial for success. Being able… Read More

8 months ago

What are the key elements of a successful employee recognition and rewards program?

Employee recognition and rewards programs play a crucial role in motivating and engaging employees, as… Read More

8 months ago

How do I effectively manage and respond to customer feedback and reviews?

Customer feedback and online reviews play a crucial role in shaping a company's reputation and… Read More

8 months ago

What are the best strategies for effective time management as a stay-at-home parent?

Effective time management is crucial for stay-at-home parents who juggle multiple responsibilities on a daily… Read More

8 months ago