Skip to Main Content
Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition
book

Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition

by Jason Ouellette
December 2013
Intermediate to advanced content levelIntermediate to advanced
448 pages
13h 44m
English
Addison-Wesley Professional
Content preview from Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition

Sending Email

The three ways to send email in Apex are the following:

Image SingleEmailMessageSends an email to up to ten receivers. The email addresses of receivers are provided as strings. A string containing HTML or plain text is used as the message body.

Image SingleEmailMessage with template—Sends to up to ten receivers, but the unique identifiers of Contact, Lead, or User objects must be used instead of strings to provide the receivers’ email addresses. The message body is constructed from a template. Templates are globally available to an organization ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Development with the Force.com Platform: Building Business Applications in the Cloud, Second Edition

Development with the Force.com Platform: Building Business Applications in the Cloud, Second Edition

Jason Ouellette

Publisher Resources

ISBN: 9780133511611Purchase book