---
title: "Codeunit 4900 SMTP Mail Internals"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/4900-smtp-mail-internals/
type: codeunit
id: 4900
name: "SMTP Mail Internals"
app: "Base Application"
versions: "17-19"
build: 19.5.36567.56815
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 4900 SMTP Mail Internals

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/4900-smtp-mail-internals/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-19 |
| Source file | SMTPMailInternals.Codeunit.al |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Internal event | OnAfterCreateMessage | (DotNet MimeMessage, DotNet MimeBodyBuilder) | 17-19 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
