function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ChadMeyerChadMeyer 

Outbound emails silently black holed when recipients are separated by spaces

Our application uses the Apex Single Email method and it has come to our attention that the inclusion of a space between email addresses results in the email not being sent, but no error is returned. In another words, no error is returned by apex and the email is quietly black holed. There isn't even a reference to it in the email logs. For example: To:joe@company.com; bob@company.com; barb@company.com (will fail without error) To:joe@company.com;bob@company.com;barb@company.com (will succeed) This appears to have started around early July 2012, but Salesforce support denies any change was made and says its by design. Whatever the case, emails should never be silently black holed. Anyone else seeing this?