Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Email Class (Base Email Methods)
Namespace
Usage
Email Methods
The following are methods for Email. All are instance methods.
setBccSender(bcc)
Signature
public Void setBccSender(Boolean bcc)
Parameters
-
bcc:
Type: Boolean
Return Value
Type: Void
Usage
setReplyTo(replyAddress)
Signature
public Void setReplyTo(String replyAddress)
Parameters
-
replyAddress:
Type: String
Return Value
Type: Void
setTemplateID(templateId)
Signature
public Void setTemplateID(ID templateId)
Parameters
-
templateId:
Type: ID
Return Value
Type: Void
Usage
setSaveAsActivity(saveAsActivity)
Signature
public Void setSaveAsActivity(Boolean saveAsActivity)
Parameters
-
saveAsActivity:
Type: Boolean
Return Value
Type: Void
setSenderDisplayName(displayName)
Signature
public Void setSenderDisplayName(String displayName)
Parameters
-
displayName:
Type: String
Return Value
Type: Void
setUseSignature(useSignature)
Signature
public Void setUseSignature(Boolean useSignature)
Parameters
-
useSignature:
Type: Boolean
Return Value
Type: Void