Skip to main content
Planview Customer Success Center

Task Create Email Notification Failed

Symptoms

The Customer Test environment does not send notification e-mail when new Project tasks are created and assigned to a resource.

By default, whenever a new Project task is assigned to a resource, an email is automatically sent to it, notifying the assignment of the task. We see emails in the EmailQueue table but they are not sent out by the CPMail service.

 

Error/warning messages

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

Bad records in the EmailQueue table could not be processed by the service. Customer changed one email template and accidentally removed ÿ at the end of the parameter ÿproject.

 

Resolution

Add ÿ to the end of parameter ÿprojectÿ