"SSL is not available on this server."
Posted: 31. May 2010 08:14
The above error is generated in fake sendmail's error log when I try and use PHPs mail()
function to send mail using gmail's STMP server.
PHP.INI
SENDMAIL.INI
And I added these two files to the sendmail directory for (TLS/SSL support):
And my PHP function works fine on godaddy and 1and1, so it is not the script.
What am I missing??
**Oh, and BTW. Google generates on 475 results for this search >> "SSL is not available on this server."
And most are related to the FTP. When I prefix the phrase with sendmail, I get 4 results (2 in English).
function to send mail using gmail's STMP server.
PHP.INI
- Code: Select all
sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"
SENDMAIL.INI
- Code: Select all
smtp_server=smtp.gmail.com
smtp_port=587
auth_username=********@gmail.com
auth_password=********
And I added these two files to the sendmail directory for (TLS/SSL support):
- libeay32.dll
ssleay32.dll
And my PHP function works fine on godaddy and 1and1, so it is not the script.
What am I missing??
**Oh, and BTW. Google generates on 475 results for this search >> "SSL is not available on this server."
And most are related to the FTP. When I prefix the phrase with sendmail, I get 4 results (2 in English).