"reason": "failed to send email with subject [mail alert] via account [outlook_account]",
"reason": "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message
what is the issue? i am not able to find
The Microsoft Office365 SMTP server is rejecting the set "From" address.
Use a licensed account in the "From" address
hi @ylasri, i am using the licensed account for outlook
Make sure you use the following setup in elasticsearch.yml
update from to use the same value as user
xpack.notification.email.account: outlook_account: profile: outlook email_defaults: from: <email address of service account> smtp: auth: true starttls.enable: true host: smtp-mail.outlook.com port: 587 user: <email.address>
thanks @ylasri the issue is fixed now after adding the from address in the email_defaults.