Email Not Triggering When Colon (:) Is Used in Sender Display NameIssue Emails fail to send when the sender address display name contains a colon (:) — even when the sender address is hardcoded in the script. Example of failing code: var brandName = 'ExampleOrg : Support Team'; var address = brandName + " <support@example.com>"; email.setFrom(address); email.setReplyTo(address); However, when the colon is removed from the display name, the email is sent successfully: var brandName = 'ExampleOrg Support Team'; // No colonReleaseN/ACauseThis behavior is expected. According to RFC 5322, special characters such as colons (:), commas, and semicolons must be enclosed in double quotes when used in the display name of an email address. Without proper quoting, the From header becomes malformed and the platform may reject the email before sending.ResolutionTo resolve this, wrap the display name in double quotes to ensure the email header is RFC-compliant. Corrected Script: var brandName = '"ExampleOrg : Support Team"'; // Note the quotes var address = brandName + " <support@example.com>"; email.setFrom(address); email.setReplyTo(address); This produces a valid From header: "ExampleOrg : Support Team" <support@example.com> Best Practice: Always enclose the display name in double quotes if it includes any special characters such as: : (colon), (comma); (semicolon)<, > (angle brackets)(, ) (parentheses)" (double quote) This helps prevent email delivery issues related to malformed headers.