If you are not receiving notification emails from BizTalk360, make sure the configurations are set as mentioned in the support article. In spite of making the necessary configurations, if you encounter an error message as shown below, follow the steps to rectify the issue:


CreateMailActivity
Leaving  GenerateNotificationsAsync(Kovai.BizTalk360.InfoTrack.ActivitiesImpl.Notification.Email.Create.CreateMailActivityImpl).
Fatal exception in CreateMailActivity.
System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Kovai Ltd\BizTalk360\Service\OutboundEmails\Pickup\xyz.eml' is denied.


Solution

  1. Make sure the service account has the required Administrator privileges. Even after granting the administrative access if you are unable to receive the emails from BizTalk360, it is a problem of unmatched files vs. DB records that is causing the problem due to the permission issue.
  2. Stop the service; delete all the existing files under the "pickup" folder in C:\Program Files (x86)\Kovai Ltd\BizTalk360\Service\OutboundEmails\Pickup
  3. Execute the following command in the BizTalk360 database to clear all the unsent messages:
    DELETE FROM dbo.b360_alert_History_Email WHERE IsTransmitted is NULL or IsTransmitted = 'false'
  4. Restart the BizTalk360 monitoring service