Sending e-mails
In the previous section, we learned to handle inbound e-mails. Now, it's time to learn about outbound e-mails, which can either be basic text based messages or rich HTML based messages (with or without attachments), and sending them through Apex. The Force.com platform allows us to send e-mails by using a broad set of built-in classes and methods. The outbound e-mails can be sent by a trigger, Visualforce controller, e-mail services or by any other platform.
There are two types of e-mails that can be sent by the Force.com platform.
- Single e-mails: These are e-mails with the same e-mail body and they are sent to one or more e-mail addresses.
- Mass e-mails: These are the e-mails with the personalized message bodies that may be sent to ...
Get Learning Force.com Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.