Email notifications are not being sent due to error in event logs
Symptoms
Email notifications are not sent and there are errors in the windows event log.
Error:
Source: mscorlib
Description: Length cannot be less than zero.
Parameter name: length
StackTrace: at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
at CPMail.CPMail.ReplaceParams(StringBuilder sText, String sParams, Boolean bHTML)
at CPMail.Service.ProcessEmails(Boolean bEnterprise)
Reason
A parameter in the email template is missing the final ÿ
Resolution
Add ÿ at the end of the parameter.