Codeunit 8905 Email Message Impl.

System Application, System.Email

src/System Application/App/Email/src/Message/EmailMessageImpl.Codeunit.al50 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Create line 30

  1. 36callsCodeunit 8905 Email Message Impl. GetRecipientsAsText
  2. 37callsCodeunit 8905 Email Message Impl. GetSubject
  3. 37callsCodeunit 8905 Email Message Impl. GetBody
  4. 37callsCodeunit 8905 Email Message Impl. IsBodyHTMLFormatted
  5. 39callsSetRecipients
  6. 39callsCodeunit 8905 Email Message Impl. GetRecipientsAsText
  7. 40callsSetRecipients
  8. 40callsCodeunit 8905 Email Message Impl. GetRecipientsAsText
  9. 42callsCodeunit 8905 Email Message Impl. Attachments_First
  10. 44callsCodeunit 8905 Email Message Impl. Attachments_GetContent
  11. 45callsAddAttachment
  12. 45callsCodeunit 8905 Email Message Impl. Attachments_GetName
  13. 45callsCodeunit 8905 Email Message Impl. Attachments_GetContentType
  14. 45callsCodeunit 8905 Email Message Impl. Attachments_IsInline
  15. 45callsCodeunit 8905 Email Message Impl. Attachments_GetContentId
  16. 46callsCodeunit 8905 Email Message Impl. Attachments_Next
  17. 48callsCodeunit 8905 Email Message Impl. GetId
  18. 51callsCodeunit 8900 Email Impl AddRelation
  19. 51callsGetId

Create line 60

  1. 68callsSetRecipients

Create line 71

  1. 73callsInitializeCreation
  2. 74callsUpdateMessage

CreateReply line 77

  1. 84callsSetRecipients

CreateReply line 87

  1. 89callsInitializeCreation
  2. 90callsUpdateMessage

CreateReplyAll line 93

  1. 99callsCreateReply

InitializeCreation line 102, local

  1. 106callsInvalidateHeadersCache
  2. 109writesTable 8900 Email Message Insert

UpdateMessage line 112

  1. 115callsSanitizeBody
  2. 117callsSetBodyValue
  3. 118callsSetSubjectValue
  4. 119callsSetBodyHTMLFormattedValue
  5. 120callsSetExternalId
  6. 121callsModify
  7. 123callsSetRecipients
  8. 124callsSetRecipients
  9. 125callsSetRecipients

Modify line 136

  1. 142writesTable 8900 Email Message Modify

SetBodyValue line 154, local

  1. 163callsReplaceRgbaColorsWithRgb

SetBody line 168

  1. 170callsSetBodyValue
  2. 171callsModify

AppendToBody line 174

  1. 181callsGetBody
  2. 182callsSetBody

SetSubject line 205

  1. 207callsSetSubjectValue
  2. 208callsModify

SetBodyHTMLFormatted line 221

  1. 223callsSetBodyHTMLFormattedValue
  2. 224callsModify

AddHeader line 227

  1. 229callsStoreHeader

SetHeader line 232

  1. 234callsStoreHeader

GetHeader line 237

  1. 243callsNormalizeHeaderName
  2. 246callsEnsureHeadersLoaded

FlushHeaders line 255

  1. 268callsModify

StoreHeader line 272, local

  1. 278callsNormalizeHeaderName
  2. 281callsEnsureHeadersLoaded

AddAttachment line 386

  1. 396callsCodeunit 4100 Temp Blob CreateOutStream
  2. 397callsCodeunit 4110 Base64 Convert FromBase64
  3. 398callsCodeunit 4100 Temp Blob CreateInStream
  4. 399callsInsertAttachment

AddAttachment line 402

  1. 404callsAddAttachmentInternal

AddAttachment line 407

  1. 409callsAddAttachmentInternal

AddAttachment line 412

  1. 414callsAddAttachmentInternal

AddAttachmentInternal line 429

  1. 433callsAddAttachment
  2. 434callsInsertAttachment

InsertAttachment line 443, local

  1. 451writesTable 8904 Email Message Attachment Insert
  2. 453callsModify

AddAttachmentsFromScenario line 456

  1. 465callsGetContentTypeFromFilename
  2. 466callsAddAttachment
  3. 467callsInsertAttachmentsFromScenario

InsertAttachmentsFromScenario line 471, local

  1. 478callsCodeunit 4100 Temp Blob CreateOutStream
  2. 481callsCodeunit 4100 Temp Blob CreateInStream
  3. 488writesTable 8904 Email Message Attachment Insert

GetRecipients line 507

  1. 512callsGetEmailAddressesOfRecipients

GetRecipients line 515

  1. 521callsGetEmailAddressesOfRecipients

GetRecipientsAsText line 535

  1. 540callsGetRecipients

SetRecipients line 558

  1. 568writesTable 8903 Email Recipient DeleteAll
  2. 579writesTable 8903 Email Recipient Insert
  3. 582callsModify

AddRecipient line 585

  1. 596callsGetRecipients
  2. 602callsSetRecipients

Attachments_DeleteContent line 610

  1. 619writesTable 2000000184 Tenant Media Modify
  2. 623callsModify
  3. 625writesTable 8904 Email Message Attachment Modify
  4. 629callsCodeunit 8711 Telemetry LogMessage

Attachments_Delete line 641

  1. 650writesTable 8904 Email Message Attachment Delete
  2. 654callsCodeunit 8711 Telemetry LogMessage

Attachments_GetContent line 681

  1. 694callsCodeunit 8904 Email Message OnGetAttachmentContent

Attachments_GetContentBase64 line 700

  1. 705callsAttachments_GetContent
  2. 706callsCodeunit 4110 Base64 Convert ToBase64

GetRelatedAttachments line 734

  1. 742callsCodeunit 8900 Email Impl FilterRemovedSourceRecords
  2. 748callsCodeunit 8901 Email OnFindRelatedAttachments
  3. 750callsInsertRelatedAttachments
  4. 751writesTable 8910 Email Related Attachment DeleteAll

Get line 762

  1. 765callsInvalidateHeadersCache

DeleteOrphanedMessages line 770

  1. 783callsDeleteEmailMessageIfOrphaned

DeleteEmailMessageIfOrphaned line 792, local

  1. 805writesTable 8900 Email Message Delete

DeleteEmailRecipientsIfOrphaned line 808

  1. 823callsIsEmailRecipientOrphaned
  2. 824writesTable 8903 Email Recipient Delete

ValidateRecipients line 849

  1. 855callsGetRecipients
  2. 861callsCodeunit 8894 Email Account ValidateEmailAddress

InsertRelatedAttachments line 869, local

  1. 882writesTable 8910 Email Related Attachment Insert

OnAfterDeleteEmailInbox line 917, local

  1. 925writesTable 8900 Email Message Delete

OnAfterDeleteSentEmail line 929, local

  1. 947writesTable 8900 Email Message Delete

OnAfterDeleteEmailOutbox line 951, local

  1. 962writesTable 8901 Email Error DeleteAll(true)
  2. 973writesTable 8900 Email Message Delete

OnBeforeDeleteEmailMessage line 977, local

  1. 987writesTable 8904 Email Message Attachment DeleteAll
  2. 990writesTable 8903 Email Recipient DeleteAll
  3. 993writesTable 8909 Email Related Record DeleteAll

OnBeforeModifyEmailMessage line 997, local

  1. 1018raisesOnBeforeDeleteSentEmailAttachment

OnBeforeDeleteAttachment line 1027, local

  1. 1041raisesOnBeforeDeleteSentEmailAttachment

MarkAsRead line 1106

  1. 1110writesTable 8900 Email Message Modify