More details from the Trace log:
I turned on the ODF program tracing and reran the ODF process to try to email send an OnDemand distribution using the SMTP Server:
This information was added to the arsodf.xml file:
<SMTPServer>smtp.office365.com</SMTPServer>
<SSL>false</SSL>
What I found in the Trace log file was that when I set <SSL>false</SSL> I get the following error:
<message>451 5.7.3 STARTTLS is required to send mail [PH0PR07CA0058.namprd07.prod.outlook.com 2023-11-01T15:45:01.489Z 08DBD9EA97EE27A0]
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2373)
com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1808)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1285)
javax.mail.Transport.send0(Transport.java:231)
javax.mail.Transport.send(Transport.java:100)
ODFProcessDist.sendMail(ODFProcessDist.java:910)
ODFProcessDist.process(ODFProcessDist.java:242)
ODFProcessDist.main(ODFProcessDist.java:1203)</message>
When I tried setting <SSL>true</SSL> I get a different error:
<message>Could not connect to SMTP host: smtp.office365.com, port: 25Caused by: Unrecognized SSL message, plaintext connection?
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2211)
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)
javax.mail.Service.connect(Service.java:342)
javax.mail.Service.connect(Service.java:222)
javax.mail.Service.connect(Service.java:171)
javax.mail.Transport.send0(Transport.java:230)
javax.mail.Transport.send(Transport.java:100)
ODFProcessDist.sendMail(ODFProcessDist.java:910)
ODFProcessDist.process(ODFProcessDist.java:242)
ODFProcessDist.main(ODFProcessDist.java:1203)</message>
It appears that I need to be sharing this information the Email Server admin. Does a change need to be made on the Email Server? Or is a configuration change needed within ODF? What should I be asking from the Email Server admin?
Thanks,
Joe