Details

      Description

      The email notification are not sent successfully when configured with smtp.office365.com.

      Steps to Replicate
      1) Extract Liferay DXP 7.1, install dxp-14.
      2) To configure SMTP
      2a) Add the following properties in portal-ext.properties,
      mail.session.mail.smtp.auth=true
      mail.session.mail.smtp.starttls.enable=true​

      2b) Restart the server, navigate to Control Panel-> Configurations-> Mail-> Added the values for Outgoing SMTP Server
      Outgoing SMTP Server : smtp.office365.com
      Outgoing Port : 587
      Use a Secure Network Connection : Uncheck

      2c) Provide the outlook credentials. You can also follow this article to configure mail
      3) Test the mail notification by creating a user, or by forget password or by creating a new event in the calendar and inviting the user. Among all these activities the below error is thrown,

      "MAIL FROM:<REDACTED@outlook.com>
       530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MA1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM]
       com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MA1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM]"

      Actual result: The above error is thrown and emails are not sent to the user.
      Expected result: The emails should work.

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              6 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP92
                7.0.10.14 DXP SP14
                7.0.X
                7.1.10 DXP FP18
                7.1.10.5 SP5
                7.1.X
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.10 DXP GA1
                7.4.0 CE GA1
                Master