Codeunit 8905 Email Message Impl.

System Application, System.Email

62 procedures

ProcedureVersions
GetBody(): Text17-29
GetSubject(): Text[2048]17-29
IsBodyHTMLFormatted(): Boolean17-29
GetContentTypeFromFilename(FileName: Text): Text[250]17-29
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentBase64: Text)17-29
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentInStream: InStream)17-29
Attachments_First(): Boolean17-29
Attachments_Next(): Integer17-29
Attachments_GetName(): Text[250]17-29
Attachments_GetContent(var InStream: InStream)17-29
Attachments_GetContentBase64(): Text17-29
Attachments_GetContentType(): Text[250]17-29
Attachments_GetContentId(): Text[40]17-29
Attachments_IsInline(): Boolean17-29
Attachments_GetLength(): Integer17-29
GetId(): Guid17-29
GetEmailMessage(var EmailMessage: Record "Email Message")17-29
Create(EmailMessageImpl: Codeunit "Email Message Impl.")17-29changed in 20
Create(ToRecipients: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean)17-29
Modify()17-29
SetBody(BodyText: Text)17-29
SetSubject(Subject: Text)17-29
SetBodyHTMLFormatted(Value: Boolean)17-29
AddAttachmentInternal(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentInStream: InStream): Integer17-29
GetRecipientsAsText(RecipientType: Enum "Email Recipient Type"): Text17-29
SetRecipients(RecipientType: Enum "Email Recipient Type"; RecipientsText: Text)17-29
SetRecipients(RecipientType: Enum "Email Recipient Type"; Recipients: List of [Text])17-29
Get(MessageId: Guid): Boolean17-29
IsRead(): Booleannew in 18
MarkAsRead()new in 18
GetRecipients(): Listnew in 18
GetRecipients(RecipientType: Enum "Email Recipient Type"): Listnew in 18
ValidateRecipients()new in 18
Attachments_DeleteContent(): Booleannew in 19
AppendToBody(BodyText: Text)new in 20
AddRecipient(RecipientType: Enum "Email Recipient Type"; Recipient: Text)new in 20
GetNoOfModifies(): Integernew in 20
AddAttachment(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentInStream: InStream; InLine: Boolean; ContentId: Text[40])new in 21
AddAttachmentInternal(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentInStream: InStream; InLine: Boolean; ContentId: Text[40]): Integernew in 21
AddAttachmentsFromScenario(var EmailAttachments: Record "Email Attachments")new in 21
GetRelatedAttachments(var EmailRelatedAttachments: Record "Email Related Attachment"): Booleannew in 21
GetRelatedAttachments(EmailMessageId: Guid; var EmailRelatedAttachmentOut: Record "Email Related Attachment"): Booleannew in 21
internal FormatFileSize(SizeInBytes: Integer): Textnew 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
CreateReply(ToRecipients: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean; ExternalId: Text)new in 25
CreateReplyAll(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
GetExternalId(): Text[2048]new in 25
Create(ToRecipients: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean; Sanitize: Boolean)new in 25
Create(Recipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean; CCRecipients: List of [Text]; BCCRecipients: List of [Text]; Sanitize: Boolean)new in 25
UpdateMessage(ToRecipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean; ExternalId: Text; CCRecipients: List of [Text]; BCCRecipients: List of [Text]; Sanitize: Boolean)new in 25
Attachments_GetId(): BigIntegernew in 26
DeleteEmailRecipientsIfOrphaned(StartMessageId: Guid; RecipientsToIterate: 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]; AttachmentInStream: InStream; InLine: Boolean; ContentId: Text[40]; MessageAlreadyRetrieved: Boolean)new in 29
AddAttachmentInternal(AttachmentName: Text[250]; ContentType: Text[250]; AttachmentInStream: InStream; InLine: Boolean; ContentId: Text[40]; MessageAlreadyRetrieved: Boolean): Integernew in 29