Has anyone gotten SMPT email for AWS SES to work in OpenCart 3.0.3.2?
Gmail works fine, but it would be better to use our domain name email as setup in AWS.
This is my log from System -> Maintenance -> Error Logs after several attempts:
2019-06-08 17:33:12 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-08 17:33:12 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-08 17:33:12 - PHP Warning: fsockopen(): unable to connect to ssl://mail.smtp2go.com:2525 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 15:13:54 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 15:13:54 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 15:13:54 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:15 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:15 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:15 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com.:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:42 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:42 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:42 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com.:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:22:06 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:22:06 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:22:06 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com.:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
Gmail works fine, but it would be better to use our domain name email as setup in AWS.
This is my log from System -> Maintenance -> Error Logs after several attempts:
2019-06-08 17:33:12 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-08 17:33:12 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-08 17:33:12 - PHP Warning: fsockopen(): unable to connect to ssl://mail.smtp2go.com:2525 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 15:13:54 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 15:13:54 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 15:13:54 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:15 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:15 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:15 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com.:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:42 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:42 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:19:42 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com.:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:22:06 - PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:22:06 - PHP Warning: fsockopen(): Failed to enable crypto in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
2019-06-11 16:22:06 - PHP Warning: fsockopen(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com.:587 (Unknown error) in /opt/bitnami/apps/opencart/htdocs/system/library/mail/smtp.php on line 87
Followed is an example of their GET / POST API: https://docs.aws.amazon.com/ses/latest/ ... mples.html .
You can also see other query interfaces here: https://docs.aws.amazon.com/ses/latest/ ... rface.html
You can also see other query interfaces here: https://docs.aws.amazon.com/ses/latest/ ... rface.html
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well, let's see.
No I cannot be more specific since this generic question has no specific details whatsoever in the first place to describe if you're a developer or not. It simply asks if anyone were able to make this third party API to work but nothing that specifically describes how knowledgeable you were with it on your first post. However, what I did provided was the official documentation to AWS SES API . If that is not enough for you to conclude that, as a third party troubleshooting request, this information may not provide enough information for you, you can always submit a new service request in the Commercial Support section of the forum to get this fixed as a custom job or to find an extension by using Google or on the Marketplace to see what may fit your requirements since OC, by default, does not provide any functionality with AWS SES, still on this day, unless integration planning on a user's behalf comes to light.Has anyone gotten SMPT email for AWS SES to work in OpenCart 3.0.3.2?
Forum rules.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
There was nothing "generic" about the question I posted, in fact, it was pretty specific. There was no mention of an "API" in my question. I would have rathered you didn't respond at all than to be as inconsiderate as you have in your answers. Maybe someone else would have responded with some useful information that has been down this path already.
With AWS SES, you can always search the forum or on Google for answers. I can't really recall the last time this error message was posted specifically especially without the details.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Did you ever get your smtp working?
I am also getting the "system/library/mail/smtp.php on line 87" error
Wayne Sallee
Wayne@WayneSallee.com
I am also getting the "system/library/mail/smtp.php on line 87" error
Wayne Sallee
Wayne@WayneSallee.com
I was finally able to get my server to work with opencart.
/etc/dovecot/conf.d/10-auth.conf only had "auth_mechanisms = plain", and while this is fine with Thunderbird, since the connection is made via ssl, it still would not work with opencart, so adding the "login" option in addition to "plain" made it work.
Without the login option I was getting :
"SASL LOGIN authentication failed: Invalid authentication mechanism" in the mail log.
Wayne Sallee
Wayne@WayneSallee.com
Code: Select all
Mail Engine SMTP
Mail Parameters blank
SMTP Hostname tls://maildomain
SMTP Username shopemailaddress@mydomain.com
Code: Select all
cat >> /etc/dovecot/conf.d/10-auth.conf << "EOF"
auth_mechanisms = plain login
EOF
Without the login option I was getting :
"SASL LOGIN authentication failed: Invalid authentication mechanism" in the mail log.
Wayne Sallee
Wayne@WayneSallee.com
Who is online
Users browsing this forum: No registered users and 126 guests