You are currently reviewing an older revision of this page.
Office 365 configured as the email server for an Appian cloud site fails to receive emails from an Appian Cloud site. The following error can be seen in the application server log
javax.resource.spi.work.WorkCompletedException: com.appiancorp.process.engine.EmailSendException: Could not send email [from=<SYSTEM_EMAIL_ADDRESS>, to=<TO_ADDRESS>, subject=<SUBJECT> ... Caused by: com.appiancorp.process.engine.EmailSendException: Could not send email [from=<SYSTEM_EMAIL_ADDRESS>, to=<TO_ADDRESS>, subject=<SUBJECT> ... 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
The Office 365 server is blocking emails sent from the 'from' email address. This is often the Appian Cloud site's system email address.
Update the Office 365 settings to allow sending from the blocked email address or change the 'from' email address to an address allowed by the Office 365 settings.
This article applies to all versions on Appian Cloud
Last Reviewed: March 2020