You are currently reviewing an older revision of this page.

DRAFT [SP-2343] Emails fail to send to Office 365 with "Failed to process message due to a permanent exception with message" error

Symptoms

javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailSendException: Could not send email [from=admin@swfwmddev.watermatters.org, to=eric.byszeski@watermatters.org, subject=ePermitting | SWFWMD (DEV) Password Change] ... Caused by: com.appiancorp.process.engine.EmailSendException: Could not send email [from=admin@swfwmddev.watermatters.org, to=eric.byszeski@watermatters.org, subject=ePermitting | SWFWMD (DEV) Password Change] ... Caused by: com.sun.mail.smtp.SMTPSendFailedException: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message

Cause

Office 365 if blocking the 'from' email address

Action

Update the office 365 settings to allow sending from this email address or change the 'from' email address

Affected Versions

This article applies to all versions on Appian Cloud

Last Reviewed: March 2020