This article is machine translated.
A gateway refers to the path by which a messagereaches its recipient. Examples of gateways:
Why do I need this?
What do I do now?
It can be assumed that the email gateway provided is sufficient for you. So in principle you just create the following configuration and save it:
Without any special settings, Contao tries to send the emails via sendmail(https://en.wikipedia.org/wiki/Sendmail). Depending on your hosting provider, sendmail may not be available and you may have to use an alternative. This could be the direct sending via SMTP. Here you have the option to either overwrite the global Contao settings via
parameters.yml (note correct indentation and use spaces instead of tabs) or adjust the settings for only one specific gateway.
As of Contao 4.10, it is possible to use multiple email configurations in Contao. For example, you can use a different configuration for the store and for sending forms. More details can be found in the Contao manual.