Configuration
This section covers all aspects of configuring the Microsoft Exchange 365 Mailer extension for TYPO3.
After completing the Azure Configuration, you need to configure the TYPO3 extension with the values obtained from Microsoft Entra ID.
Quick Configuration Overview
The extension requires the following key configuration variables:
- Mail Transport: Set to use Exchange365Transport
- Tenant ID: Your Microsoft Entra ID tenant identifier
- Client ID: Your Azure application identifier
- Client Secret: Your Azure application secret
- From Email: The sender email address
- Graph Sender User ID (optional): Graph mailbox for Send As / Send On Behalf
- Save to Sent Items (optional): Whether to save emails to sent folder
For detailed step-by-step instructions, see:
- Essential Configuration - For server-side email sending (recommended for production)
- Frontend Configuration - Optional per-site TypoScript overrides for frontend mail (Powermail, Form Framework)
Configuration Methods
The transport is selected only in $GLOBALS.
The credentials and sender can come from:
- Essential Configuration (baseline for every context)
-
- Environment variables, mapped onto
TYPO3_by your projectCONF_ VARS Additionalreading the environmentConfiguration. php
- Environment variables, mapped onto
- Frontend Configuration (optional per-site overrides)
-
- TypoScript, ideally with
:= get. Non-empty TypoScript values overrideEnv (...) TYPO3_per setting; empty values fall back.CONF_ VARS
- TypoScript, ideally with
If TYPO3_ is configured, frontend forms (Powermail, Form Framework)
work without any TypoScript.
Attention
Security Recommendation: Never write the client secret as a literal value into TypoScript or configuration files. Read it from the environment.