Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
2
Erster Beitrag:
vor 2 Monaten, 1 Woche
Letzter Beitrag:
vor 2 Monaten
Beteiligte Autoren:
Al

[WD22] SMTP Email puzzle on Amazon EC2 instances -SOLVED

Startbeitrag von Al am 14.12.2017 22:23

Hello All

I have a strange problem with SMTP emailing from Amazon EC2 servers.
The first time I login to the server and run the application the emailing works. If I try again a minute or so later it fails with an error message:
SMTP session: Connection failed. No server response.

If I wait about 5-7 minutes and try again it works.
Clearly a timing issue but where ?

Emailing on Amazon servers is interesting.
They provide smtp services but I have not been able to get them to work. Instead I am using my company office 365 account as the smtp server.
The smtp server is therefore
myname.mail.protection.outlook.com
The username is noreply@mycompanyname.com and the session is unauthenticated.

I then add the IPv4 address of the Amazon server into the connectors on my Office 365 exchange server

All ideas gratefully accepted

Regards
Al

Antworten:

Hello All

The solution was very simple. Drop all the complications and use a third party smtp service.
In my case this was www.sendinblue.com
Their main purpose is for email campaign marketing but they have an smtp service and it works very well for me on the Amazon servers. They have a free option but as I am using it for business I took up one of their business plans.
They also have an SMS service but I haven't looked into that yet.

Regards
Al

von Al - am 22.12.2017 06:16
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.