Workflow Notification Mailer Is Not Sending Email Notifications Or Goes Down When Authentication is Enabled

(Doc ID 1528345.1)

Last updated on SEPTEMBER 12, 2017

Applies to:

Oracle Workflow - Version 12.1.3 to 12.2 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

12.1.3 Workflow Notification Mailer Authentication enabled goes down. Errors may look like some of the following:

...

...javax.mail.MessagingException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty;
...oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(Message)]:Problem encountered when sending to {[[<email_address>]]} -> javax.mail.MessagingException: 530 Authentication required
....7.0 Timeout waiting for client inputresponse string:Is Auth Supported: false
...oracle.apps.fnd.wf.mailer.SMTPMessageHandler.sendMessages(String)]:SendFailed  Exception -> [[<email address>]] javax.mail.SendFailedException:  Invalid Addresses;    nested exception is:   class com.sun.mail.smtp.SMTPAddressFailedException: 550 Not authenticated
...oracle.apps.fnd.cp.gsc.Processor.run()]:An unexpected RuntimeException or Throwable occurred -> java.lang.NullPointerException
...

 

SMTP test shows:

...

DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "<SMTP Server>", port 25, is SSL false
220 mi13 ESMTP service ready
DEBUG SMTP: connected to host "<SMTP Server>", port: 25

EHLO clouderp
250-IP Address
250-8BITMIME
250-SIZE 20480000
250-AUTH=PLAIN LOGIN
250-AUTH PLAIN LOGIN
250 STARTTLS
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "SIZE", arg "20480000"
DEBUG SMTP: Found extension "AUTH=PLAIN", arg "LOGIN"
DEBUG SMTP: Found extension "AUTH", arg "PLAIN LOGIN"
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<email address>
550 Cannot receive from specified address <email address>: Unauthenticated senders not allowed
com.sun.mail.smtp.SMTPSendFailedException: 550 Cannot receive from specified address <email address>: Unauthenticated senders not allowed

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1275)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:895)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:524)
at oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(SMTPOutboundProcessor.java:949)
at oracle.apps.fnd.wf.mailer.SMTPMessageHandler.sendMessages(SMTPMessageHandler.java:337)
at oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.processMessage(SMTPOutboundProcessor.java:1388)
at oracle.apps.fnd.cp.gsc.SvcComponentProcessor.process(SvcComponentProcessor.java:659)
at oracle.apps.fnd.cp.gsc.Processor.run(Processor.java:283)
at java.lang.Thread.run(Thread.java:662)
[Jan 29, 2013 12:41:01 PM PKT]:1359445261983:-1:-1:clouderp:<IP ADDRESS>:-1:-1:1:20420:SYSADMIN(0):-1:Thread[outboundThreadGroup1,5,outboundThreadGroup]:<IP ADDRESS>:50160:1359445259672:324:UNEXPECTED:[SVC-GSM-WFMLRSVC-1753956-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:An unexpected RuntimeException or Throwable occurred -> java.lang.NullPointerException

...

 

Another possible error found in the logfile is :

...
Exception in thread "main" java.lang.RuntimeException: Connection reset
        at oracle.apps.fnd.wf.mailer.SMTPUtils.isAUTHSupported(SMTPUtils.java:141)
        at oracle.apps.fnd.wf.mailer.SMTPUtils.transportTest(SMTPUtils.java:240)
        at oracle.apps.fnd.wf.mailer.Mailer.main(Mailer.java:2001)
...

  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms