Error message
"Server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied"
This email failure error occurs when you have a different user name as used in the default from address credentials when sending emails.
Solution
You can the resolve this error by making sure the Email:: User Name and Email::DefaultFromAddress are the same.