Codeunit 400 SMTP Mail

Base Application

56 procedures

ProcedureVersions
Initialize()gone after 19
AddFrom(FromName: Text; FromAddress: Text): Booleangone after 19
AddRecipients(Recipients: List of [Text])gone after 19
AddCC(Recipients: List of [Text])gone after 19
AddBCC(Recipients: List of [Text])gone after 19
AddSubject(Subject: Text)gone after 19
AddBody(Body: Text)gone after 19
AddTextBody(Body: Text)gone after 19
AppendBody(BodyPart: Text)gone after 19
AppendTextBody(BodyPart: Text)gone after 19
GetFrom(): Textgone after 19
GetRecipients(var Recipients: List of [Text])gone after 19
GetCC(var Recipients: List of [Text])gone after 19
GetBCC(var Recipients: List of [Text])gone after 19
GetSubject(): Textgone after 19
GetBody(): Textgone after 19
GetLinkedResourcesCount(): Integergone after 19
IsBodyHtmlFormatted(): Booleangone after 19
CreateMessage(FromName: Text; FromAddress: Text; Recipient: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean): Booleangone after 17
Pending, tag 15.0, obsolete since 17: This method is obsolete. A new CreateMessage overload is available, with the following parameters (FromName: Text; FromAddress: Text; Recipients: List of [Text]; Subject: Text; Body: Text).
CreateMessage(FromName: Text; FromAddress: Text; Recipients: List of [Text]; Subject: Text; Body: Text): Booleangone after 19
CreateMessage(FromName: Text; FromAddress: Text; Recipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean): Booleangone after 19
Send(): Booleangone after 19
SendShowError()gone after 19
AddAttachment(AttachmentPath: Text; FileName: Text): Booleangone after 19
AddAttachmentStream(AttachmentStream: InStream; AttachmentName: Text): Booleangone after 19
IsEnabled(): Booleangone after 19
CheckValidEmailAddresses(Recipients: Text)gone after 18
Pending, tag 16.0, obsolete since 17: Please call CheckValidEmailAddresses from the Mail Management codeunit directly.
GetLastSendMailErrorText(): Textgone after 19
GetSmtpErrorCodeFromResponse(ErrorResponse: Text): Textgone after 19
GetFriendlyMessageFromSmtpErrorCode(ErrorCode: Text): Textgone after 19
HandleSMTPRegisterServiceConnection(var ServiceConnection: Record "Service Connection")gone after 19
ShowNotificationDetail(Notification: Notification)gone after 19
GetO365SmtpServer(): Text[250]gone after 19
GetOutlookSmtpServer(): Text[250]gone after 19
GetGmailSmtpServer(): Text[250]gone after 19
GetYahooSmtpServer(): Text[250]gone after 19
GetDefaultSmtpPort(): Integergone after 19
GetYahooSmtpPort(): Integergone after 19
GetDefaultSmtpAuthType(): Integergone after 19
AddTroubleshootingLinksToNotification(var TargetNotification: Notification)gone after 19
ApplyOffice365Smtp(var SMTPMailSetupConfig: Record "SMTP Mail Setup")gone after 19
ApplyOutlookSmtp(var SMTPMailSetupConfig: Record "SMTP Mail Setup")gone after 19
ApplyGmailSmtp(var SMTPMailSetupConfig: Record "SMTP Mail Setup")gone after 19
ApplyYahooSmtp(var SMTPMailSetupConfig: Record "SMTP Mail Setup")gone after 19
IsOffice365Setup(var SMTPMailSetupConfig: Record "SMTP Mail Setup"): Booleangone after 19
IsOutlookSetup(var SMTPMailSetupConfig: Record "SMTP Mail Setup"): Booleangone after 19
IsGmailSetup(var SMTPMailSetupConfig: Record "SMTP Mail Setup"): Booleangone after 19
IsYahooSetup(var SMTPMailSetupConfig: Record "SMTP Mail Setup"): Booleangone after 19
IsSmtpAuthErrorCode(ErrorCode: Text): Booleangone after 19
IsSmtpRecipientErrorCode(ErrorCode: Text): Booleangone after 19
IsSmtpSendAsErrorCode(ErrorCode: Text): Booleangone after 19
internal GetOAuth2Credentials(var UserName: Text; var AuthToken: Text)18 to 19
internal AuthenticateWithOAuth2()18 to 19
internal CheckOAuth2Authentication()18 to 19
internal GetUserName(AccessToken: Text; var UserName: Text): Boolean18 to 19