"Email could not be sent" error when sending mail from APM CE (CEM).
search cancel

"Email could not be sent" error when sending mail from APM CE (CEM).

book

Article ID: 19521

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

Description:

When sending an email from APM CE (CEM), getting "Error: The email could not be sent: Sending the email to the following server failed : <server_name>.com:25."

In the MOM log, the following error message appears: 

org.apache.commons.mail.EmailException: Sending the email to the following server failed : <server_name>.com:25:501 Syntax: HELO hostname

The 501 error message notes when there is a syntax error with the parameters or arguments. In this case, the email server cannot process the SMTP command "HELO hostname", so APM CE (CEM) is unable to send the email.

 

Environment

Release:
Component: APMCM

Resolution

To typically resolve this issue, check that the domain name lookup is correctly configured.

 

The domain name of the TESS-MOM machine must be "<hostname>." To determine if this is correct, do a reverse domain name lookup.

 

The following is an example of how to do the equivalent operation with telnet:

 

[userid@hostname1 ~]# telnet <hostname> 25

Trying ##.##.##.##...

Connected to hostname.example.com (##.##.##.##).

Escape character is '^]'.

220 hostname.example.com Authorized Users Only! Wed, 1

HELO <hostname>

250 <hostname> Hello