The monthly renewal emails not sent from Creatio CRM.
The 'Email' step in the process library fails with the below error.
Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The remote server returned an error: (401) Unauthorized. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
Code used in the business process :
---------------------------------------------------
var invoiceId = Get("CreatedInvoiceId");
var userConnection = Get("UserConnection");
//Terrasoft.Configuration.AimCreateMonthlyInvoiceJob.SendEmail(context.UserConnection, invId);
Terrasoft.Configuration.AimCreateMonthlyInvoiceJob.SendEmail(userConnection, invoiceId);
return true;
Like
Hello,
This error means that the mailbox rejected your login and password, which are being sent during adding the email.
To find the reason for this issue you need to contact your mailbox server administrator with the exact date and time of the error.
Thank you.
Kind regards,
Kate
Hello,
We can see that you have posted a similar question here: https://community.creatio.com/questions/unable-run-process
Further communications and a possible solution will be posted there.
Thank you.
Kind regards,
Kate