Posts tagged "MessagingException"

LiveCycle7: javax.mail.MessagingException: 554 Mail from [email@mail.com] rejected for policy reasons

Issue

 If you are using the mail/notification functionality in LiveCycle 7, you may find that the mails are never received by the intended recipient.  If you look in the adminui you may find the action has stalled with the following error:

"javax.mail.MessagingException: 554 Mail from <email@mail.com> rejected for policy reasons"

Reason

 This is caused by a lack of privileges to use the SMTP mail server in your organisation.

Solution

Consult your IT department and request permission for the Lc Server to use the SMTP mail server to send email notifications.

reference: (1-28762420)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 10.0/10 (1 vote cast)

LiveCycle ES: javax.mail.MessagingException: Could not connect to SMTP host: <hostname>, port: 25

Issue

 If you are trying to send a mail from a process in LiveCycle ES, you may encounter the following exception in the log:

java.lang.RuntimeException: javax.mail.MessagingException: Could not connect to SMTP host: <hostname>, port: 25;
nested exception is:
java.net.SocketException: Software caused connection abort: connect

Reason

 If you are using Virus Scanner software they often block port 25 to prevent worm-type mass mailings.  In McAfee for example, you can verify this if you bring up the VirusScan Console and look at the Access Protection Task. Check the properties for the port settings.

Solution

 You should disable any anti-virus checks on port 25.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)