IBM Support

Workflow Email Notification throws error: com.sun.mail.smtp.SMTPSendFailedException: 501 5.1.7 Invalid address

Troubleshooting


Problem

Workflow Email Notification throws error: com.sun.mail.smtp.SMTPSendFailedException: 501 5.1.7 Invalid address

Symptom

Users do not receive Email Notification

Cause

The 'Email From ID' value is configured with an invalid email address. If the mail server is not configured to authenticate the user's credential, then mail server will use the 'Email From ID' to send out the Email Notification. Make sure this 'Mail from ID' value has a valid email address.

Diagnosing The Problem

Error from pesvr_system.log:

Exception: com.sun.mail.smtp.SMTPSendFailedException: 501 5.1.7 Invalid address
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1829)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1368)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:886)
at javax.mail.Transport.send0(Transport.java:191)
at javax.mail.Transport.send(Transport.java:120)
at filenet.jpe.server.log.NotificationClass.sendMessageNotificationClass.java:806)
at filenet.jpe.server.log.NotificationClass.sendMessageToUser(NotificationClass.java:489)
at filenet.jpe.server.log.NotificationClass.execute(NotificationClass.java:1716)
at filenet.jpe.server.log.VwNotifyTask.doNotify(VwNotifyTask.java:70)
at filenet.jpe.server.log.VwNotifyTask.doProcessNotifications(VwNotifyTask.java:312)
at filenet.jpe.server.log.VwNotifyTask.doJob(VwNotifyTask.java:462)
at filenet.jpe.server.common.DelayBackgroundTask.run(DelayBackgroundTask.java:232)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:790)

Resolving The Problem

Configure the 'Email from ID' to use the valid email address, as following:

1/ Using ACCE, browse to the Workflow System -> Remote Servers -> Email
2/ Set the Email from ID to a valid email address

[{"Product":{"code":"SSNW2F","label":"FileNet P8 Platform"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Process Engine","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.0;5.1;5.2;5.2.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21984709