Problems with SMTP for gmail and port 587
Posted: Sat Jun 16, 2018 8:52 am
With OC 1.5.x I was able to get ssl://smtp.gmail.com to work with port 465. But I wasn't able to get port 587 to work.
With ssl://smtp.gmail.com
I get error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
With tls://smtp.gmail.com
I get error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
I normally have my settings email different from the SMTP email. I tried making both the same, but that did not help either.
There is a post in another thread that says replacing parts of mail.php may fix this, but does it really work?
$this->from
to
$this->smtp_username
viewtopic.php?f=202&p=703749
Another post says something similar:
https://github.com/opencart/opencart/is ... t-97519284
However "SSL3_GET_RECORD:wrong version number" sounds like a problem with the SSL/TLS version?
Anything I can change in cPanel?
With ssl://smtp.gmail.com
I get error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
With tls://smtp.gmail.com
I get error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
I normally have my settings email different from the SMTP email. I tried making both the same, but that did not help either.
There is a post in another thread that says replacing parts of mail.php may fix this, but does it really work?
$this->from
to
$this->smtp_username
viewtopic.php?f=202&p=703749
Another post says something similar:
https://github.com/opencart/opencart/is ... t-97519284
However "SSL3_GET_RECORD:wrong version number" sounds like a problem with the SSL/TLS version?
Anything I can change in cPanel?