STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied

You are using office365 and you getting the error message because somewhere in your website something is overriding the email you
defined to send emails inside the plugin.

For example:
You configured in the plugin to use the address send@domain.com this address always needs to be in the “From” field of the outgoing emails, and somewhere else you have a different address defined.

Possible solutions:
1. find the address and change it to the one you used in the plugin.
2. Block changes from external places inside the plugin:

3. Use this code inside your theme functions.php file:

add_filter('wp_mail_from', 'change_contact_from_address', 999);
function change_contact_from_address() {
     return 'contact@domain.com';
}

 

Share on facebook
Facebook
Share on google
Google+
Share on twitter
Twitter
Share on linkedin
LinkedIn

1 thought on “STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied”

Leave a Comment

Your email address will not be published. Required fields are marked *