Change record status: 
Project: 
Introduced in branch: 
11.1.x
Introduced in version: 
11.1.0
Description: 

A new config schema data type has been added: mailer_dsn.

The system.mail.mailer_dsn config has been switched to the mailer_dsn data type. Contrib and custom modules providing their own Symfony Mailer transport configuration are encouraged to switch to the mailer_dsn data type for their config and/or config entities.

The mailer_dsn data type defines a mapping with the following keys and constraints:

  • scheme: (required) Must start with a letter followed by zero or more letters, numbers, plus (+), minus (-) or periods (.)
  • host: (required) Must comply with RFC 3986 URI host.
  • user: (optional) All strings accepted
  • password: (optional) All strings accepted
  • port: (optional) Must be an integer between 0 and 65535
  • options: (optional) Sequence of key-value pairs. All values accepted unless a more specific config schema exists for the DSN scheme.
Impacts: 
Module developers