In this blog, I will like to share one of my experiences with Workflow approval email notification. Recently the email notification request for approval stopped working for workflows, which I have created earlier, and they were working.
But now the workflow approvers were not getting emails anymore. So, to fix this issue, the first step would be to check what is the error which is occurring. To check what may be the error, search “job queue log entries” into the search box and select it.
On clicking it, you will find a list of job queues you can search for your error log by date time and user name mentioned in the error log.
Select your error log to view complete error details.
Following is the error I found from the error log.
A call to MailKit.Net.Smtp.SmtpClient.Send failed with this message: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;
Failed to process message due to a permanent exception with message Cannot submit message. 0.352
We found there was an issue with the “Send As” option in SMTP set up. So, we asked our Administrator to fix this in exchange. After getting this issue fixed, the emails started to arrive at the approval person mailbox.