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
earlbarbyearlbarby 

Determing which email address was BCCed under a single Email Service

We have an Email Service running with an Apex class. This service has two email addresses under it. Suppose an email is BCC'ed to one of the address. From within the email handler class, how can we determine which address the message was sent to? BCC is not available on the inbound email object nor is it reliably in the headers.

Thanks,
Earl