Codeunit 9520 Mail Management

Base Application, System.EMail

31 procedures

ProcedureVersions
internal RecipientStringToList(DelimitedRecipients: Text; var Recipients: List of [Text])17-29
GetLastGraphError(): Textgone after 23
Pending, tag 21.0, obsolete since 21: Microsoft Invoicing has been discontinued.
InitializeFrom(NewHideMailDialog: Boolean; NewHideEmailSendingError: Boolean)17-29
SetHideMailDialog(NewHideMailDialog: Boolean)17-29
SetHideSMTPError(NewHideSMTPError: Boolean)gone after 19
Pending, tag 17.0, obsolete since 17: Replaced with the SetHideEmailSendingError function
SetHideEmailSendingError(NewHideEmailSendingError: Boolean)17-29
CheckValidEmailAddresses(Recipients: Text)17-29
CheckValidEmailAddress(EmailAddress: Text): Boolean17-29
ValidateEmailAddressField(var EmailAddress: Text): Boolean17-29
IsSMTPEnabled(): Booleangone after 19
Pending, tag 17.0, obsolete since 17: Replaced with the IsAnyAccountRegistered in "Email Account" codeunit from "System Application".
IsGraphEnabled(): Booleangone after 23
Pending, tag 21.0, obsolete since 21: Microsoft Invoicing has been discontinued.
IsEnabled(): Boolean17-29
IsCancelled(): Boolean17-29
IsSent(): Boolean17-29
Send(var ParmEmailItem: Record "Email Item"; EmailScenario: Enum "Email Scenario"): Boolean17-29
Send(ParmEmailItem: Record "Email Item"): Booleangone after 23
Pending, tag 17.0, obsolete since 17: Replaced with the overload containing Email Scenario
SendMailOrDownload(var TempEmailItem: Record "Email Item" temporary; HideMailDialog: Boolean; EmailScenario: Enum "Email Scenario")17-29
SendMailOrDownload(TempEmailItem: Record "Email Item" temporary; HideMailDialog: Boolean)gone after 23
Pending, tag 17.0, obsolete since 17: Replaced with the overload containing Email Scenario
DownloadPdfAttachment(var TempEmailItem: Record "Email Item" temporary)17-29
ImageBase64ToUrl(BodyText: Text): Text17-29
TryGetSenderEmailAddress(var FromAddress: Text[250]): Boolean17-29
GetSenderEmailAddress(): Text[250]gone after 19
Pending, tag 17.0, obsolete since 17: Sender will be chosen based on the scenario parameter to the Send function when using the email feature is enabled. To control which account will be used, use the overload containing Email Scenario.
GetSenderEmailAddress(EmailScenario: Enum "Email Scenario"): Text[250]17-29
GetSMTPCredentials(var SMTPMailSetup: Record "SMTP Mail Setup")gone after 19
Pending, tag 17.0, obsolete since 17: Not needed once email feature is enabled.
IsHandlingGetEmailBody(): Boolean17-29
IsHandlingGetEmailBodyCustomer(): Boolean17-29
IsHandlingGetEmailBodyVendor(): Boolean17-29
AddSource(TableId: Integer; SystemId: Guid)new in 18
AddSendTo(EmailAddresses: Text)new in 19
Send(var ParmEmailItem: Record "Email Item"; EmailScenario: Enum "Email Scenario"; Enqueue: Boolean): Booleannew in 23
SendMailOrDownload(var TempEmailItem: Record "Email Item" temporary; HideMailDialog: Boolean; EmailScenario: Enum "Email Scenario"; Enqueue: Boolean)new in 23