Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD22] SMTP email from Amazon server (no replies)

$
0
0
Hello All

I have an Amazon EC2 server and to the best of my knowledge I have correctly setup the SMTP emailing provisions using their SES process to create a valid set of credentials

I know that my smtp process works because it does so on a variety of other servers and local installs and even with Office365 so I assume the problem is in the credentials or maybe the PCSoft SMTP control does not implement a STARTTLS session in a way that Amazon likes although the EmailStartSMTPSession() function works without giving an error.

The EmailStartSession() function gives the following error message

Unable to send message
Check the recipient address as well as your account settings(Sender address)

First Attempt
Last response of SMTP server is:
503 Error: need Mail command

Second Attempt
Timeout
No server response withing timeout - this is 60 seconds

Third Attempt
Content of Email: Sender not recognised by server Transaction denied

The code collects the user data from a file and stores it in variables that are then passed to the functions as:
SWITCH GSMTPSecurityOption
CASE 2 //TLS
	EmailStartSMTPSession(GSMTPUserName,GSMTPPassword, GSMTPServerName,GSMTPPortNumber,GSMTPASynch,emailOptionSecuredTLS)

Followed by 
EmailSendMessage(GSMTPUserName)

Has anyone managed to get smtp emailing working on an Amazon server and if so what is the secret please ?

Regards
Al

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>