Can someone help me out to this below issue. We done change smtp to office365 but after change the smtp host, we start getting below issue
Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message.
The email address used in the SMTP protocol (MAIL From:<[email protected]>
) must be identical to your office365 account name, i.e. "[email protected]".
Source: check this Microsoft support page, related to printers and scanners:
"Your printer or application must send email from the same address that you entered logon credentials for during email setup. If the printer or application tries to send email from a different account, this results in an error similar to:
5.7.60 SMTP; Client does not have permissions to send as this sender.
For example, if you entered login credentials for [email protected] in your application settings, but the application tries to send emails from [email protected], this is not supported. For this scenario, use Microsoft 365 or Office 365 SMTP relay instead."
In our case, the address mismatch causes office365.com to reply with the following error message:
554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message.
and has been resolved as described.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With