Hi,
I'm trying for at least 2 weeks to setup SMTP but nothing works
I'm using gmail settings:
SMTP Hostname: tls://smtp.gmail.com
SMTP Username: myname@gmail.com
SMTP Password: mypass
SMTP Port: 587
but every time i'm getting :
Warning: stream_socket_enable_crypto(): Peer certificate CN=`mydomain.com' did not match expected CN=`smtp.gmail.com' in /home/ladylen/public_html/system/library/mail.php on line 221
Any ideas whats wrong?
And how to fix it?
I'm trying for at least 2 weeks to setup SMTP but nothing works
I'm using gmail settings:
SMTP Hostname: tls://smtp.gmail.com
SMTP Username: myname@gmail.com
SMTP Password: mypass
SMTP Port: 587
but every time i'm getting :
Warning: stream_socket_enable_crypto(): Peer certificate CN=`mydomain.com' did not match expected CN=`smtp.gmail.com' in /home/ladylen/public_html/system/library/mail.php on line 221
Any ideas whats wrong?
And how to fix it?
Pottery Glaze shop
Follow these steps and see if that rectifies the issue: viewtopic.php?f=181&t=183198&p=702044#p674746
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi Thanks I tried now. when i register it goes to blank page
received following error
2017-11-14 14:05:54 - PHP Warning: fsockopen(): Failed to enable crypto in /home/adprpcim/public_html/system/library/mail.php on line 170
2017-11-14 14:05:54 - PHP Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) in /home/adprpcim/public_html/system/library/mail.php on line 170
2017-11-14 14:05:54 - PHP Notice: Error: (0) in /home/adprpcim/public_html/system/library/mail.php on line 173
received following error
2017-11-14 14:05:54 - PHP Warning: fsockopen(): Failed to enable crypto in /home/adprpcim/public_html/system/library/mail.php on line 170
2017-11-14 14:05:54 - PHP Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) in /home/adprpcim/public_html/system/library/mail.php on line 170
2017-11-14 14:05:54 - PHP Notice: Error: (0) in /home/adprpcim/public_html/system/library/mail.php on line 173
If i use tls:// and port 587.
Received following error
PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`server.dronozone.com' did not match expected CN=`smtp.gmail.com' in /home/adprpcim/public_html/system/library/mail.php on line 221
Received following error
PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`server.dronozone.com' did not match expected CN=`smtp.gmail.com' in /home/adprpcim/public_html/system/library/mail.php on line 221
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yep, seams like a permissions issue ..straightlight wrote: ↑Tue Nov 14, 2017 10:44 pmContact your host about this issue.
Source: https://stackoverflow.com/questions/453 ... did-not-ma
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
You don't need to repeat what's already been provided above ...webcorvo wrote: ↑Tue Nov 14, 2017 10:58 pmYep, seams like a permissions issue ..straightlight wrote: ↑Tue Nov 14, 2017 10:44 pmContact your host about this issue.
Source: https://stackoverflow.com/questions/453 ... did-not-ma
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
sorrystraightlight wrote: ↑Tue Nov 14, 2017 11:21 pmYou don't need to repeat what's already been provided above ...webcorvo wrote: ↑Tue Nov 14, 2017 10:58 pmYep, seams like a permissions issue ..straightlight wrote: ↑Tue Nov 14, 2017 10:44 pmContact your host about this issue.
Source: https://stackoverflow.com/questions/453 ... did-not-ma
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
configure:
Protocol Mail
SMTM : smtp.gmail.com
SMTP username: Your full Gmail or Google Apps email address
SMTP password: Your Gmail or Google Apps email password
SMTP port: 465
save settings.
after this
add this line to both root and admin php.ini files.
sendmail_path = /usr/sbin/sendmail -t -i;
enjoy!
Protocol Mail
SMTM : smtp.gmail.com
SMTP username: Your full Gmail or Google Apps email address
SMTP password: Your Gmail or Google Apps email password
SMTP port: 465
save settings.
after this
add this line to both root and admin php.ini files.
sendmail_path = /usr/sbin/sendmail -t -i;
enjoy!
Who is online
Users browsing this forum: No registered users and 421 guests