Type alias SingleEmailMessage

SingleEmailMessage: Email & {
    bccAddresses?: string | null;
    ccAddresses?: string | null;
    charset?: string | null;
    documentAttachments: string[];
    entityAttachments: string[];
    fileAttachments: EmailFileAttachment[];
    htmlBody?: string | null;
    inReplyTo?: string | null;
    optOutPolicy?: string | null;
    orgWideEmailAddressId?: string | null;
    plainTextBody?: string | null;
    references?: string | null;
    targetObjectId?: string | null;
    templateId?: string | null;
    templateName?: string | null;
    toAddresses?: string | null;
    treatBodiesAsTemplate?: boolean | null;
    treatTargetObjectAsRecipient?: boolean | null;
    whatId?: string | null;
}

Type declaration

  • Optional bccAddresses?: string | null
  • Optional ccAddresses?: string | null
  • Optional charset?: string | null
  • documentAttachments: string[]
  • entityAttachments: string[]
  • fileAttachments: EmailFileAttachment[]
  • Optional htmlBody?: string | null
  • Optional inReplyTo?: string | null
  • Optional optOutPolicy?: string | null
  • Optional orgWideEmailAddressId?: string | null
  • Optional plainTextBody?: string | null
  • Optional references?: string | null
  • Optional targetObjectId?: string | null
  • Optional templateId?: string | null
  • Optional templateName?: string | null
  • Optional toAddresses?: string | null
  • Optional treatBodiesAsTemplate?: boolean | null
  • Optional treatTargetObjectAsRecipient?: boolean | null
  • Optional whatId?: string | null