If a CiviCRM site is using MS Exchange to handle email, a user attempting to unsubscribe gets an error like:

Mailing Error Failed to send data [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 554, response: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:89230000,

1 Answer 1


I discovered this was because CiviCRM attempts to send the email from do-not-reply@ and the account used to send the email did not have the rights to send on behalf of that email address. You cure it by creating a shared mailbox called do-no-reply@ and give the outbound email account rights to send email from that mailbox.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.