+ Start a Discussion
Ken KoellnerKen Koellner 

SingleEmailMessage Messaging.sendMail sending additional headers.

I'd like to set some additional email header in a SingleEmailMessage sent by Messaging.sendMail.  I don't see any mothod to start arbitrary standard or custom (-X) headers.

My guess is there's no way to do it but I htought I'd ask just in case I missed something in the docs, or there's some super secret workaround trick I never figured out.
PrasanntaPrasannta (Salesforce Developers) 
Hi,

Please refer to this link-
http://www.salesforce.com/us/developer/docs/pages/Content/pages_email_sending_attachments.htm

Ken KoellnerKen Koellner
That reply says how to add attachments.  I'm not trying to add attachment, I'm trying to add email headers.