Sarim Javaid Khan
Sarim Javaid Khan

Reputation: 830

SMTP error using Gmail to send email on PHP

Error:

SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (18313040)
SMTP Error: Could not connect to SMTP host. no photos' requests in pending! 

I get this error when using Gmail domain to send mail through my PHP script.

Upvotes: 0

Views: 193

Answers (1)

GDP
GDP

Reputation: 8178

Check your PHP configuration and see that php_openssl.dll is installed/enabled.

Upvotes: 1

Related Questions