+ Start a Discussion
Lee_CampbellLee_Campbell 

A list of "mail.set" options

Hi guys,

 

Pretty simple request... I can't seem to find any definitive lists for what I can and cannot set as far as "mail.set" tokens go. The list of "EmailMessage" API Field Names provided by Salesforce at http://www.salesforce.com/us/developer/docs/sfFieldRef/index.htm isn't at all extensive. Can anybody point me in a better direction?

 

Thanks,

Lee

Best Answer chosen by Admin (Salesforce Developers) 
kamlesh_chauhankamlesh_chauhan

This will clear your questions.

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_single.htm

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_mass.htm

 

Regards,

Kamlesh Chauhan, (Founder & CTO, LogicRain Technologies)

kamlesh@logicrain.com || http://www.logicrain.com || LinkedIn

 

Answers/Suggestions are my own.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

 

All Answers

kamlesh_chauhankamlesh_chauhan

Hi Lee,

 

This might be helpful to you.

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound.htm

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_emailmessage.htm

 

 

Regards,

Kamlesh Chauhan, (Founder & CTO, LogicRain Technologies)

kamlesh@logicrain.com || http://www.logicrain.com || LinkedIn

 

Answers/Suggestions are my own.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

Lee_CampbellLee_Campbell

Thanks for that. I'm not sure it's a completely exhaustive list of mail.set Methods though.

 

For example, I've seen mail.setWhatID used somewhere. What does that do in the context of an email? I'm familiar with its usage in Tasks and the like, but not email...

kamlesh_chauhankamlesh_chauhan

This will clear your questions.

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_single.htm

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound_mass.htm

 

Regards,

Kamlesh Chauhan, (Founder & CTO, LogicRain Technologies)

kamlesh@logicrain.com || http://www.logicrain.com || LinkedIn

 

Answers/Suggestions are my own.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

 

This was selected as the best answer
Lee_CampbellLee_Campbell

Brilliant!

 

My fault for not using the correct terminology in the first place.

 

Thanks very much,

Lee

kamlesh_chauhankamlesh_chauhan

Great. Thanks