Codeunit 8904 Email Message

System Application, System.Email

50 procedures

ProcedureVersions
Create(ToRecipients: Text; Subject: Text; Body: Text)17-29
Create(ToRecipients: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean)17-29
Create(ToRecipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean)17-29
Create(ToRecipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean; CCRecipients: List of [Text]; BCCRecipients: List of [Text])17-29
Get(MessageId: Guid): Boolean17-29
GetBody(): Text17-29
GetSubject(): Text[2048]17-29
IsBodyHTMLFormatted(): Boolean17-29
GetId(): Guid17-29
GetRecipients(RecipientType: Enum "Email Recipient Type"; var Recipients: List of [Text])17-29
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentBase64: Text)17-29
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentInStream: InStream)17-29changed in 20
Attachments_First(): Boolean17-29
Attachments_Next(): Integer17-29
Attachments_GetName(): Text[250]17-29
Attachments_GetContent(var AttachmentInStream: InStream)17-29changed in 20
Attachments_GetContentBase64(): Text17-29
Attachments_GetContentType(): Text[250]17-29
Attachments_GetContentId(): Text[40]17-29
Attachments_GetLength(): Integer17-29
Attachments_IsInline(): Boolean17-29
Attachments_DeleteContent(): Booleannew in 19
SetBody(Body: Text)new in 20
AppendToBody(Value: Text)new in 20
SetSubject(Subject: Text)new in 20
SetBodyHTMLFormatted(Value: Boolean)new in 20
SetRecipients(RecipientType: Enum "Email Recipient Type"; Recipients: Text)new in 20
SetRecipients(RecipientType: Enum "Email Recipient Type"; Recipients: List of [Text])new in 20
AddRecipient(RecipientType: Enum "Email Recipient Type"; Recipient: Text)new in 20
internal GetNoOfModifies(): Integernew in 20
AddAttachmentFromScenario(var EmailAttachments: Record "Email Attachments")new in 21
GetRelatedAttachments(var EmailRelatedAttachments: Record "Email Related Attachment"): Booleannew in 21
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; InLine: Boolean; ContentId: Text[40]; AttachmentInStream: InStream)new in 22
Attachments_DeleteContent(BypassSentCheck: Boolean): Booleannew in 23
Attachments_Delete(): Booleannew in 23
Attachments_Delete(BypassSentCheck: Boolean): Booleannew in 23
DeleteOrphanedMessages(StartMessageId: Guid; MessagesToIterate: Integer): Guidnew in 24
Create(ToRecipients: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean; Sanitize: Boolean)new in 25
CreateReply(ToRecipients: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean; ExternalId: Text)new in 25
CreateReply(ToRecipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean; ExternalId: Text)new in 25
CreateReply(ToRecipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean; ExternalId: Text; CCRecipients: List of [Text]; BCCRecipients: List of [Text])new in 25
CreateReplyAll(Subject: Text; Body: Text; HtmlFormatted: Boolean; ExternalId: Text)new in 25
GetExternalId(): Text[2048]new in 25
Attachments_GetId(): BigIntegernew in 26
DeleteEmailRecipientsIfOrphaned(StartMessageId: Guid; MessagesToIterate: Integer): Guidnew in 27
AddHeader(HeaderName: Text; HeaderValue: Text)new in 28
SetHeader(HeaderName: Text; HeaderValue: Text)new in 28
GetHeader(HeaderName: Text; var Value: Text): Booleannew in 28
FlushHeaders()new in 28
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; InLine: Boolean; ContentId: Text[40]; AttachmentInStream: InStream; MessageAlreadyRetrieved: Boolean)new in 29