Codeunit 4620 "SMTP Authentication"
Email - SMTP API · System.Email
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 6 connected objects and pages
Email - SMTP API · System.Email · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnSMTPOAuth2Authenticate(var Handled: Boolean; var SMTPAuthentication: Codeunit "SMTP Authentication"; SMTPServer: Text)(integration): Provide the credentials for SMTP Setup to authenticate using OAuth 2.0.- subscribers: Codeunit 4516 “OAuth2 SMTP Authentication” OnSMTPOAuth2Authenticate
Procedures
SetServer(Url: Text): Set the server url.SetBasicAuthInfo(User: Text; Pass: SecretText): Set the username and password for authenticationSetOAuth2AuthInfo(User: Text[250]; Token: SecretText): Set the OAuth information for authenticationSetBasicAuthInfo(User: Text; Pass: SecretText; UserAccountId: Guid): Set the username and password for authenticationSetOAuth2AuthInfo(User: Text[250]; Token: SecretText; UserAccountId: Guid): Set the OAuth information for authenticationGetServer(): Text[250](internal)GetUserName(): Text[250](internal)GetPassword(): SecretText(internal)GetAccessToken(): SecretText(internal)GetAccountId(): Guid(internal)
Called by
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 4616 “OAuth2 SMTP Auth” (4 calls:
Authenticate → GetAccessToken,Authenticate → GetServer,Authenticate → GetUserName, …) - Codeunit 4513 “SMTP Connector Impl.” (2 calls:
Send → SetBasicAuthInfo,Send → SetServer) - Codeunit 4516 “OAuth2 SMTP Authentication” (2 calls:
OnSMTPOAuth2Authenticate → GetAccountId,OnSMTPOAuth2Authenticate → SetOAuth2AuthInfo) - Codeunit 4617 “Basic SMTP Auth” (2 calls:
Authenticate → GetPassword,Authenticate → GetUserName) - Codeunit 4619 “NTLM SMTP Auth” (2 calls:
Authenticate → GetPassword,Authenticate → GetUserName)
Implemented 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: "SMTP Authentication"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.