The MassEmailMessage object in the Apex API lets you specify an email template to use with the emails. In the SalesForce user interface, users can specify an email template when sending an email to a Contact.
But when you use the SingleEmailMessage object to send a single email, there is no templateId property that lets you use an existing template for the message. As a result, you always have to create the message from scratch.
I'd like to see the ability added to SingleEmailMessage to use an existing email template. This would greatly simplify the code used to send common one-off emails.
4 Comments » Posted by donkiely
Posted 09/09/07
Categories: Sales Force Automation, Applications, Release Winter 08, Delivered Ideas