LiJinHuan
2024-01-05 462188a2c982b0a8750dfe01692dfd898216bb0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
global class Messaging {
    /**
     * Convert a value containing a raw RFC822 email stream into a new InboundEmail instance. Typically used with message/rfc822 binary attachments.
     */
    global static Messaging.InboundEmail extractInboundEmail(Object source, Boolean includeForwardedAttachments) { }
    global static List<Messaging.RenderEmailTemplateBodyResult> renderEmailTemplate(String whoId, String whatId, List<String> bodies) { }
    global static Messaging.SingleEmailMessage renderStoredEmailTemplate(String templateId, String whoId, String whatId, Object attachmentRetrievalOption, Boolean updateEmailTemplateUsage) { }
    global static Messaging.SingleEmailMessage renderStoredEmailTemplate(String templateId, String whoId, String whatId, Object attachmentRetrievalOption) { }
    global static Messaging.SingleEmailMessage renderStoredEmailTemplate(String templateId, String whoId, String whatId) { }
    /**
     * Reserve capacity to send mass emails.
     */
    global static void reserveMassEmailCapacity(Integer count) { }
    /**
     * Reserve capacity to send single emails.
     */
    global static void reserveSingleEmailCapacity(Integer count) { }
    /**
     * Send email.
     */
    global static List<Messaging.SendEmailResult> sendEmail(List<Messaging.Email> emailMessages, Boolean allOrNothing) { }
    /**
     * Send email.
     */
    global static List<Messaging.SendEmailResult> sendEmail(List<Messaging.Email> emailMessages) { }
    /**
     * Send EmailMessage.
     */
    global static List<Messaging.SendEmailResult> sendEmailMessage(List<Id> emailMessagesIds, Boolean allOrNothing) { }
    /**
     * Send EmailMessage.
     */
    global static List<Messaging.SendEmailResult> sendEmailMessage(List<Id> emailMessagesIds) { }
 
}