---
title: "Table 409 SMTP Mail Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/409-smtp-mail-setup/
type: table
id: 409
name: "SMTP Mail Setup"
app: "Base Application"
namespace: System.EMail
versions: "17-25"
build: 25.5.30849.36072
obsolete: "Removed 20.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 409 SMTP Mail Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/table/409-smtp-mail-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.EMail |
| Versions | 17-25 |
| Obsolete | Removed 20.0, seen from 17. Moved to "Email - SMTP" app. Use SMTP connector to create SMTP accounts. Email accounts can be configured from "Email Accouts" page from "System Application". |
| Source file | Removed/SMTPMailSetup.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Primary Key | Code[10] | 17-25 | - | - |
| 2 | SMTP Server | Text[250] | 17-25 | - | - |
| 3 | Authentication | Option | 17-25 | - | - |
| 4 | User ID | Text[250] | 17-25 | - | - |
| 6 | SMTP Server Port | Integer | 17-25 | - | - |
| 7 | Secure Connection | Boolean | 17-25 | - | - |
| 8 | Password Key | Guid | 17-25 | - | - |
| 9 | Send As | Text[250] | 17-25 | - | - |
| 10 | Allow Sender Substitution | Boolean | 17-25 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Primary Key | 17-25 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| HasSetup | () | Boolean | public | 17-19 | - | - |
| GetSetup | () | Boolean | public | 17-19 | - | - |
| SetPassword | (Text) | - | public | 17-19 | - | - |
| GetPassword | () | Text | public | 17-19 | - | - |
| HasPassword | () | Boolean | public | 17-19 | - | - |
| RemovePassword | () | - | public | 17-19 | - | - |
| GetSender | () | Text[250] | public | 17-19 | - | - |
| GetConnectionString | () | Text[250] | public | 17-19 | - | - |
| SplitUserIdAndSendAs | (Text[250]) | - | public | 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.
