+ Start a Discussion

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.