SAP Knowledge Base Article - Preview

3500322 - Sending out email failed via office365 smtp server in Commerce Cloud

Symptom

When trying to send out an email via office365 smtp server in Commerce cloud, the following error can can be seen in logs

Caused by: javax.mail.AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, the user credentials were incorrect. [FR4P281CA0401.DEUP281.PROD.OUTLOOK.COM 2024-07-15T09:21:53.788Z 08DCA45866061464]

    at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:947)
    at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:858)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:762)
    at javax.mail.Service.connect(Service.java:364)
    at javax.mail.Service.connect(Service.java:222)
    at javax.mail.Service.connect(Service.java:171)
    at javax.mail.Transport.send0(Transport.java:230)
    at javax.mail.Transport.send(Transport.java:100)
    at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1459)
    ... 149 more

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • Product version: All Sap Commerce Cloud versions

Product

SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

SMTP,office365,OAuth , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.