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.