mErrorMessage

Displays the related error if the message isn't sent successfully.

Values

Text (read-only)

Examples

if(!mSentOK)
{
// If errors occurred then show the proper message.
CRM.AddContent('Error: '+mErrorMessage);
}
else
{
CRM.AddContent('Message Sent OK'());
}
Response.Write(CRM.GetPage());

Displays the error if the message isn't sent successfully.