My Oracle Support Banner

OTM Mailer Configuration With Office 365 Smtp Throws 'javax.mail.SendFailedException: Sending failed' Error (Doc ID 2067458.1)

Last updated on AUGUST 21, 2018

Applies to:

Oracle Transportation Management - Version 6.2.0 to 6.3.0 [Release 6.2 to 6.3]
Information in this document applies to any platform.

Symptoms

When attempting to send emails out of OTM when configured OTM mailer with cloud based office 365, the following error occurs.

ERROR
-----------------------
javax.mail.SendFailedException: Sending failed;
 nested exception is:
  class javax.mail.MessagingException: Unknown SMTP host: smtp.office365.com:25;
 nested exception is:
  java.net.UnknownHostException: smtp.office365.com:25
  at javax.mail.Transport.send0(Transport.java:218)
  at javax.mail.Transport.send(Transport.java:80)
  at glog.util.mail.MailEvent$Listener.trigger(MailEvent.java:986)
  at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:146)
  at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
  at glog.util.event.EventThread.run(EventThread.java:87)
  at java.lang.Thread.run(Thread.java:619)

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.