Getting error in configuring sender mail in xpack watchers

Hello Guys,

for watcher notification alert i'm going to setup default mail which help i can send notification to sender but
I'm facing error when i'm setting up default outlook account in elasticsearch configuration to test functionality.

my elasticsearch.yml configuration is:

xpack.notification.email.account:
    outlook_account:
        profile: outlook
        smtp:
            auth: true
            starttls.enable: true
            host: smtp.office365.com
            port: 587
            user: yash@<domain name>.com
            password: <password>

error on elastic console i'm getting:

Caused by: com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender [SN1PR0501MB2048.namprd05.PROD.OUTLOOK.COM]

Kindly, help me to resolve this problem.

This seems related, it's not a Watch issue, it's a mail server/auth one;

Hi @warkolm,

I didn't mention it's a watch issue i just said i'm getting error in my elasticsearch console.
yeah! you're right, In 1st look it's looking client authentication error.

But, Can you provide the solution on this issue. or any direction what settings i have to change in order to work this action properly as i expected.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.