Codeunit 8894 "Email Account"
System Application · System.Email
Across versions
- BC23-26present
- BC271 events added
- BC28-30unchanged
Neighbourhood 26 connected objects and pages
System Application · System.Email · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnAfterValidateEmailAddress(EmailAddress: Text; AllowEmptyValue: Boolean)(integration)OnAfterDeleteEmailAccount(EmailAccountId: GUID; EmailAccountConnector: enum "Email Connector")+ BC27 (integration)
Procedures
GetAllAccounts(LoadLogos: Boolean; var TempEmailAccount: Record "Email Account" temporary): Gets all of the email accounts registered in Business Central.GetAllAccounts(var TempEmailAccount: Record "Email Account" temporary): Gets all of the email accounts registered in Business Central.IsAnyAccountRegistered(): Boolean: Checks if there is at least one email account registered in Business Central.IsAccountRegistered(EmailAccountId: Guid; EmailConnector: Enum "Email Connector"): Boolean: Checks if a specific email account is registered in Business Central.DeleteAccounts(var TempEmailAccountsToDelete: Record "Email Account" temporary; HideDialog: Boolean): Deletes all selected email accounts.ValidateEmailAddress(EmailAddress: Text): Validates an email address and throws an error if it is invalid.ValidateEmailAddress(EmailAddress: Text; AllowEmptyValue: Boolean): Validates an email address and throws an error if it is invalid.ValidateEmailAddresses(EmailAddresses: Text): Validates email addresses and displays an error if any are invalid.ValidateEmailAddresses(EmailAddresses: Text; AllowEmptyValue: Boolean): Validates email addresses and displays an error if any are invalid.
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 8889 “Email Account Impl.” (6 calls:
DeleteAccounts → DeleteAccounts,GetAllAccounts → GetAllAccounts,IsAccountRegistered → IsAccountRegistered, …)
Called by
- Codeunit 8892 “Email Scenario Impl.” (3 calls:
ChangeAccount → GetAllAccounts,GetEmailAccount → GetAllAccounts,GetScenariosByEmailAccount → GetAllAccounts) - Codeunit 1814 “Assisted Setup Subscribers” (2 calls:
EmailAccountIsSetup → IsAnyAccountRegistered,UpdateSetUpEmail → IsAnyAccountRegistered) - Codeunit 4400 “SOA Setup” (2 calls:
GetDefaultEmailAccount → GetAllAccounts,GetEmailAccount → GetAllAccounts) - Codeunit 4509 “Email - Outlook API Helper” (2 calls:
EmailOutlookAccountAddressValidation → ValidateEmailAddress,GetEmailAddressFromEmailAccounts → GetAllAccounts) - Codeunit 6938 “EA Agent Dispatcher” (2 calls:
ExtractAndValidateRecipients → ValidateEmailAddress,SendEmail → IsAccountRegistered) - Codeunit 8800 “Custom Layout Reporting” (2 calls:
CheckEmailSendTo → ValidateEmailAddresses,GetRequestParameters → IsAnyAccountRegistered) - Codeunit 9520 “Mail Management” (2 calls:
CheckValidEmailAddress → ValidateEmailAddress,IsEnabled → IsAnyAccountRegistered) - Page 6991 “Expense Agent Setup Wizard” (2 calls:
ValidateNoreplyMailboxExists → GetAllAccounts,ValidateSelectedMailboxExists → GetAllAccounts) - Codeunit 1368 “Monitored Field Notification” (1 call:
IsMonitorReadyToSendEmails → IsAccountRegistered) - Codeunit 2135 “O365 Setup Email” (1 call:
CheckMailSetup → IsAnyAccountRegistered) - Codeunit 3304 “PA Setup Configuration” (1 call:
GetEmailAccount → GetAllAccounts) - Codeunit 4419 “SOA Send Reply” (1 call:
GetMappedReplyRecipients → GetAllAccounts) - Codeunit 4614 “SMTP Message Impl” (1 call:
TryParseInternetAddressList → ValidateEmailAddress) - Codeunit 6755 “Send Reminder Action” (1 call:
ValidateSetup → GetAllAccounts) - Codeunit 8889 “Email Account Impl.” (1 call:
ValidateEmailAddress → OnAfterValidateEmailAddress) - Codeunit 8895 “Email Feature” (1 call:
AddEmailAccountsToServiceConnections → IsAnyAccountRegistered) - Codeunit 8900 “Email Impl” (1 call:
GetEmailAccount → GetAllAccounts) - Codeunit 8905 “Email Message Impl.” (1 call:
ValidateRecipients → ValidateEmailAddress) - Codeunit 8906 “Email Editor” (1 call:
GetEmailAccount → GetAllAccounts) - Codeunit 8907 “Email Viewer” (1 call:
GetEmailAccount → GetAllAccounts) - Page 1007 “Job Planning Lines” (1 call:
OnInit → IsAnyAccountRegistered) - Page 1015 “Job Planning Lines Part” (1 call:
OnInit → IsAnyAccountRegistered) - Page 1368 “Monitor Field Setup Wizard” (1 call:
OnOpenPage → IsAnyAccountRegistered) - Page 4400 “SOA Setup” (1 call:
CheckMailboxExists → GetAllAccounts) - Page 8887 “Email Accounts” (1 call:
UpdateEmailAccounts → GetAllAccounts) - Table 6930 “Expense Agent Setup” (1 call:
CheckMailboxExists → GetAllAccounts)
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: "Email Account"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.