Codeunit 4513 "SMTP Connector Impl."
Email - SMTP Connector · System.Email
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 11 connected objects and pages
Email - SMTP Connector · System.Email · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “SMTP Account” = rimd |
Event subscriptions
- SetTestEmailBody subscribes to Codeunit “Email” OnGetBodyForTestEmail
- ClearCompanyConfigGeneral subscribes to Codeunit “Environment Cleanup” OnClearCompanyConfig
Procedures
GetAccounts(var Accounts: Record "Email Account"): Gets the registered accounts for the SMTP connector.ShowAccountInformation(AccountId: Guid): Shows accounts information.RegisterAccount(var Account: Record "Email Account"): Boolean: Register an e-mail account for the SMTP connector.DeleteAccount(AccountId: Guid): Boolean: Deletes an e-mail account for the SMTP connector.Send(Message: Codeunit "Email Message"; AccountId: Guid): Sends an e-mail via the SMTP connector.GetDescription(): Text[250]: Gets a description of the SMTP connector.GetLogoAsBase64(): Text: Gets the SMTP connector logo.Initialize(Account: Record "SMTP Account"): Initializes variables for creating an SMTP email.ApplyOffice365Smtp(var SMTPAccountConfig: Record "SMTP Account")SMTPBasicOAuthIsUsed(): Boolean(internal)SendSMTPBasicOAuthObsoletionNotification()(internal)LearnMoreAboutSMTPBasicAuthObsoletion(Notification: Notification)(internal)GetSmtpErrorCodeFromResponse(ErrorResponse: Text): TextIsAccountValid(SMTPAccountRec: Record "SMTP Account" temporary): Boolean(internal)CreateAccount(var SMTPAccountToCopy: Record "SMTP Account"; Password: Text; var EmailAccount: Record "Email Account")(internal)GetO365SmtpServer(): Text(internal)CheckIfCustomizedSMTPOAuth(AccoutId: Guid; var SMTPAccounts: Record "SMTP Account"): Boolean(internal)ObsfuscateEmailAddress(Email: Text): Text(internal)
Plus 7 local procedures.
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.
- Codeunit 8904 “Email Message” (9 calls:
BuildSMTPMessage → Attachments_First,BuildSMTPMessage → Attachments_GetContent,BuildSMTPMessage → Attachments_GetName, …) - Codeunit 4613 “SMTP Message” (7 calls:
BuildSMTPMessage → AddAttachment,BuildSMTPMessage → AddFrom,BuildSMTPMessage → SetBCCRecipients, …) - Codeunit 4611 “SMTP Client” (4 calls:
Send → Authenticate,Send → Connect,Send → Disconnect, …) - Codeunit 4620 “SMTP Authentication” (2 calls:
Send → SetBasicAuthInfo,Send → SetServer) - Codeunit 3960 “Regex” (1 call:
GetSmtpErrorCodeFromResponse → IsMatch) - Page 4512 “SMTP Account” (1 call:
ShowAccountInformation → (object))
Called by
- Codeunit 4516 “OAuth2 SMTP Authentication” (2 calls:
OnSMTPOAuth2Authenticate → CheckIfCustomizedSMTPOAuth,OnSMTPOAuth2Authenticate → GetO365SmtpServer) - Page 4511 “SMTP Account Wizard” (2 calls:
EnsureAccountCreated → CreateAccount,SetProperties → GetO365SmtpServer) - Page extension 4511 “SMTP EMailOutbox” (2 calls:
OnOpenPage → SendSMTPBasicOAuthObsoletionNotification,OnOpenPage → SMTPBasicOAuthIsUsed) - Page extension 4512 “SMTP Sent Email” (2 calls:
OnOpenPage → SendSMTPBasicOAuthObsoletionNotification,OnOpenPage → SMTPBasicOAuthIsUsed) - Page extension 4513 “SMTP Email Accounts Ext.” (2 calls:
OnOpenPage → SendSMTPBasicOAuthObsoletionNotification,OnOpenPage → SMTPBasicOAuthIsUsed) - Page 4512 “SMTP Account” (1 call:
SetProperties → GetO365SmtpServer)
Implements
Recent changes
- 2026-07-24 #9637 [Event Requests] Add integration events across base app and SMTP module (main, BC30, feature)
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: "SMTP Connector Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.