eCommerce construction > Configuration

Problems sending via Amazon SES

<< < (2/2)

Neil.E.:

--- Quote from: Basara on July 31, 2020, 02:08:44 AM ---Hello.

Try SMTP endpoint url without protocol


--- End quote ---

Thanks for the suggestion.  I have already tried this but gave it another go with no success.

The error says:
2020-07-31 6:20:05 - warning:  AbanteCart core v.1.2.16 fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>/opt/bitnami/apps/MYSITE.COM/htdocs/core/lib/mail.php</b> on line <b>376</b>
2020-07-31 6:20:05 - warning:  AbanteCart core v.1.2.16 fsockopen(): unable to connect to ses-smtp-user.20200731-100119:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in <b>/opt/bitnami/apps/MYSITE.COM/htdocs/core/lib/mail.php</b> on line <b>376</b>

I dug into the code, and  ultimately the host name gets passed to fsockopen().  The php docs for that function say:

hostname

    If OpenSSL support is installed, you may prefix the hostname with either ssl:// or tls:// to use an SSL or TLS client connection over TCP/IP to connect to the remote host.


I do have OpenSSL installed.

I got impatient and got the email working with gmail's server, so am happy to cut my losses and use that server instead.  If you'd like more input to try to get AWS SES working, I am happy to persevere to help resolve the issue.

abolabo:
did you solved a problem?
Did you tried a to connect directly to port via telnet, etc?

Neil.E.:
I couldn't get it working with AWS.
In the end I used ssl://smtp.gmail.com on SMTP port 465


--- Quote from: abolabo on January 21, 2021, 06:35:11 AM ---did you solved a problem?
Did you tried a to connect directly to port via telnet, etc?

--- End quote ---

Navigation

[0] Message Index

[*] Previous page

Go to full version
Powered by SMFPacks Social Login Mod