This property in turn checks the element of Web.config to determine if an error message should be e-mailed.
Because the SendMailOnError property is a boolean, the code uses Convert.ToBoolean to convert the string returned from the Web.config file into a boolean