codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 397 "Mail"

Base Application · System.Email

Across versions

  1. BC23-24present
  2. BC255 procedures removed
  3. BC26-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 4030 "Client Type Management" (calls)Client Type ManagementCodeunit 457 "Environment Information" (calls)Environment InformationCodeunit 8893 "Email Scenario" (calls)Email ScenarioPage 5145 "Contact Through" (calls)Contact ThroughTable 5080 "To-do" (calls)To-do

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.Email · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnGetEmailAddressFromActiveDirectory(var Email: Text; var Handled: Boolean) (integration)
  • OnBeforeCreateMessage(var ToAddresses: Text; var CcAddresses: Text; var BccAddresses: Text; var Subject: Text; var Body: Text; ShowNewMailDialogOnSend: Boolean; RunModal: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeCreateAndSendMessage(ToAddresses: Text; CcAddresses: Text; BccAddresses: Text; Subject: Text; Body: Text; AttachFilename: Text; ShowNewMailDialogOnSend: Boolean; var MailSent: Boolean; var IsHandled: Boolean) (integration)
  • OnCreateAndSendMessageOnAfterAttachFile() (integration)
  • OnCreateMessageOnBeforeClearAttachmentFileNames(var IsHandled: Boolean) (integration)
  • OnCollectCurrentUserEmailAddressesOnBeforeCheckIsSaaS(var TempNameValueBuffer: Record "Name/Value Buffer" temporary) (integration)

Procedures

  • OpenNewMessage(ToName: Text)
  • NewMessageAsync(ToAddresses: Text; CcAddresses: Text; BccAddresses: Text; Subject: Text; Body: Text; AttachFilename: Text; ShowNewMailDialogOnSend: Boolean): Boolean
  • NewMessage(ToAddresses: Text; CcAddresses: Text; BccAddresses: Text; Subject: Text; Body: Text; AttachFilename: Text; ShowNewMailDialogOnSend: Boolean): Boolean
  • CreateMessage(ToAddresses: Text; CcAddresses: Text; BccAddresses: Text; Subject: Text; Body: Text; ShowNewMailDialogOnSend: Boolean; RunModal: Boolean)
  • CollectAddresses(ContactNo: Code[20]; var ContactThrough: Record "Communication Method"; ShowAddresses: Boolean): Text[260]
  • ValidateEmail(var ContactThrough: Record "Communication Method"; EMailToValidate: Text): Boolean
  • TryInitializeOutlook(): Boolean
  • CollectCurrentUserEmailAddresses(var TempNameValueBuffer: Record "Name/Value Buffer" temporary)
  • FormatTextForHtml(Text: Text): Text

Plus 11 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Mail"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources