SMTP email failure

jimmymac

Reputable Poster
We have a simple custom UBE that checks for an error condition nightly and if it exists, sends an email using the Send Message system function. A new QA server (AS400) was created recently, which essentially was a copy of an existing server. Same setup, data, code, etc as our old server. However, when the email UBE executes the email doesn't get sent, an error is shown in the jde logs.

This works on our production server, and on our old QA Server. I'm not sure exactly what to check on the server to see what is missing. Any thoughts would be appreciated. See the error messages below.

549 Mon Oct 19 16:08:19 2009 jdesmtp.c887
connectToSMTPserver : gethostbyname failed,
hostname = <SMTP.REMARKETINGSOLUTION.COM>
Operating system error : <There is no error.>

549 Mon Oct 19 16:08:19 2009 jdesmtp.c781
Leaving JDE_SendEMailSMTP with an error return code : <21>

549 Mon Oct 19 16:08:19 2009 gt_msg.c1434
DoSendMessageExt : Error returned from SendWEBOrWindowShortcut while sending external mail to Recipient
 
Hi,

Can you ping SMTP.REMARKETINGSOLUTION.COM from your
server? Type it exactly as it is shown on your error.
If you can't, then you'd need to add a HOSTS entry
 
Sounds like your host entries. If this is not the problem check the JDE.ini file on the new AS400 server. Specifically the [JDEMAIL] section to be sure your mail server is defined.

Rob
 
Back
Top