---
title: Enhanced Email Configuration — Approach and First Version
url: "https://news.typo3.com/article/enhanced-email-configuration-approach-and-first-version"
description: Email may be old, but it remains critical when reliability matters — and TYPO3 still lacks awareness of modern deliverability standards. This article outlines a first approach to central, validated sender configuration in TYPO3, making email setup safer and simpler for editors.
image: "https://news.typo3.com/_assets/d1e01514e4c4a5b3147940fa2ec50682/Images/og-image-news.jpg"
date: 2025-12-17
modified: 2026-01-27
categories:
  - "Developer & Technology"
---

# Enhanced Email Configuration — Approach and First Version

- [Developer & Technology](https://news.typo3.com/article/category/developer-technology)

Enhanced Email Configuration — Approach and First Version
=========================================================

17 December 2025

![A screenshot of a dashboard that displays the validation status of the email info@tutti-fagotti.com. The email and MX validators are valid, but the DMARC validator shows a warning. Overall status is marked as invalid.](https://news.typo3.com/fileadmin/_processed_/7/d/csm_image3-vignette_6c53b1cfa8.webp)

Email may be old, but it remains critical when reliability matters — and TYPO3 still lacks awareness of modern deliverability standards. This article outlines a first approach to central, validated sender configuration in TYPO3, making email setup safer and simpler for editors.

- ![](https://news.typo3.com/typo3temp/assets/t3g/blog/gravatar/b4b96c91ba12b9182e9bdfe2b4b5edc8.png)[Marco Pfeiffer](https://news.typo3.com/article/author/marco-pfeiffer)

 Email Still Matters
---------------------

Are we still talking about email in 2025? Really?

Email is actually an ancient technology that has hardly evolved — real progress is more likely to be found in messengers or tools such as Slack and Teams. Nevertheless, email remains the method of choice when it matters; if only to recover passwords in case of doubt.

This makes it all the more important that emails are delivered reliably. In recent years, spam protection technologies have become established that TYPO3 is not yet familiar with. So I want to make it easy for editors: enter the sender address once, centrally, and rely on deliverability.

That's why I applied for Community Budget for Q4, 2025 to work on the idea: [Enhanced Email Configuration with Multiple Senders and Automated Validation](https://talk.typo3.org/t/enhanced-email-configuration-with-multiple-senders-and-automated-validation-marco-pfeiffer/6473). Here I describe how I approached the project.

  [  Show larger version for:          ![Screenshot of a Mail Sender module in TYPO3 showing one email address, “info@tutti-fagotti.com”, marked Invalid. Scheduler Task is Not configured and validation date is 2023-12-06.](https://news.typo3.com/fileadmin/_processed_/d/d/csm_image1_aee49ea692.webp) ](https://news.typo3.com/fileadmin/_processed_/d/d/csm_image1_aefd7ff9ab.webp) Central configuration of all sender addresses, currently as a system module — perhaps this should be moved elsewhere?

 Defining Sender Addresses in TYPO3
------------------------------------

The first step was to centrally define in the TYPO3 backend which sender addresses can be used to send emails. These will later be offered as selectable options in different modules. In other words: editors should not and must not enter arbitrary sender addresses.

This is actually a concrete problem when using [TYPO3 forms](https://docs.typo3.org/permalink/typo3-cms-form:start) — which currently offers free-form sender entry. So I will have to customize it.

I will briefly describe the checks involved using my email: [*marco@hauptsache.net*](mailto:marco@hauptsache.net)

“marco” (before the @) is the local part or mailbox/user, and everything after the @ is the domain.

 Checking the sender domain
----------------------------

The sender address must exist and be accessible. To verify this, I check the domain's [MX record](https://en.wikipedia.org/wiki/MX_record). In the example, this is:

```
```
dig hauptsache.net mx

; <<>> DiG 9.10.6 <<>> hauptsache.net mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63727
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;hauptsache.net.            IN    MX

;; ANSWER SECTION:

hauptsache.net.        37767    IN    MX    10 aspmx2.googlemail.com.
hauptsache.net.        37767    IN    MX    5 alt1.aspmx.l.google.com.
hauptsache.net.        37767    IN    MX    1 aspmx.l.google.com.
hauptsache.net.        37767    IN    MX    5 alt2.aspmx.l.google.com.
hauptsache.net.        37767    IN    MX    10 aspmx3.googlemail.com.

;; Query time: 14 msec
;; SERVER: 2003:a:174c:5800::1#53(2003:a:174c:5800::1)
;; WHEN: Mon Dec 01 13:31:08 CET 2025
;; MSG SIZE  rcvd: 176
```
```

This confirms the domain handles mail correctly.

 Checking the sender mailbox
-----------------------------

The full sender address also needs to be valid and reachable.

To verify this, I look up the MX record and initiate a minimal [SMTP handshake](https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol#SMTP_transport_example) — just enough to test the mailbox without delivering an actual email. Since any mail server can be reached via [Telnet](https://en.wikipedia.org/wiki/Telnet), this is straightforward.

  [  Show larger version for:          ![A dashboard displays the validation status of the email info@tutti-fagotti.com. The email and MX validators are valid, but the DMARC validator shows a warning. Overall status is marked as invalid.](https://news.typo3.com/fileadmin/_processed_/1/d/csm_image3_0c6eb5488f.webp) ](https://news.typo3.com/fileadmin/_processed_/1/d/csm_image3_4ebcbcc744.webp) There is still some work to be done before the shop can send emails with this sender address.

 SPF, DMARC, and DKIM
----------------------

Now the sending mail server must also match the sender domain, which is defined by [Sender Policy Framework (SPF)](https://en.wikipedia.org/wiki/Sender_Policy_Framework) as a [DNS TXT record](https://en.wikipedia.org/wiki/TXT_record). This entry must be present, even if delivery without an SPF entry is still possible in individual cases.

However, since the [SMTP](https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol) server known to TYPO3 and the actual server that ultimately delivers *the email may differ*, a simple shell-based test is not enough.

In principle, you need to:

1. Send an email
2. Receive it
3. Analyze the received header information

That requires mailbox access.

An alternative approach is to analyze an *uploaded EML file* from the editor.

When entering the email in the TYPO3 backend, all checks are performed with immediate feedback provided. In the best case, everything works; otherwise, my extension [Mail Sender Configuration (typo3-mail-sender)](https://github.com/hauptsacheNet/typo3-mail-sender), provides instructions on what to do.

 Test Emails (With a Catch)
----------------------------

Of course, every sender address can also be verified by sending a test email. The recipient can be freely chosen and is essentially irrelevant for the test.

**Important note:** Just because an email arrives at your address does not mean it will be delivered everywhere — your spam filter may be more tolerant than others, and the server you are testing is already known. Google's spam filter (Gmail) is very good at learning *your* servers and then delivering mail anyway.

Now everything has been tested and the email is being delivered — is everything fine? Almost, but experience has shown that DNS entries can change (accidentally), and then it is no longer possible to send emails. I strongly recommend integrators set up a Scheduler task to repeat the check on an ongoing basis.

 What Have I Forgotten?
------------------------

Do you know of any other methods that use spam filters that I should be aware of?

Are there any other important extensions, besides Forms, that send mail and should be customized? Do you still use [Powermail (powermail)](https://extensions.typo3.org/extension/powermail)?

I welcome any tips and suggestions. You now have my email address.

![](https://news.typo3.com/typo3temp/assets/t3g/blog/gravatar/cef483d163de5245c6236d12d2fa5d46.png)

About the Author

[Marco Pfeiffer](https://news.typo3.com/article/author/marco-pfeiffer)

[More posts by this author](https://news.typo3.com/article/author/marco-pfeiffer)