parameters.yml anpassen:

mailer_transport: smtp

mailer_host: HOST

mailer_user: USER

mailer_password: PASS

mailer_port: 465 ODER 587

mailer_encryption: ssl ODER tls

 

 

Beispiel Goneo:
Postausgangsserver (SMTP):
mailer_host: smtp.goneo.de
SSL-Port: 465 (SSL) oder 587 (STARTTLS)

 

 

 

 

CONTAO 4.4
/app/config/parameters.yml

CONTAO 4.8+
/config/parameters.yml

 

Mailversand auf Kommandozeile testen

vendor/bin/contao-console swiftmailer:email:send --from=absender@example.com --to=empfaenger@example.com --subject=testmail --body=testmail

 

 

HTML in Überschriften erlauben:

Ab Contao 4 bzw. dann für 5 absolut, muss man für die Integration von HTML in Überschriften selbstständig eine php-Datei unter

app/Resources/contao/dca/tl_content.php

erzeugen:

<?PHP /* PUT YOUR CUSTOM CONFIGURATION HERE */

/* HTML IN ÜBERSCHRIFTEN */
$GLOBALS['TL_DCA']['tl_content']['fields']['headline']['eval']['allowHtml'] = true;
?>

Anschließend noch unbedingt Cache leeren!

siehe auch:
https://community.contao.org/de/showthread.php?67926-Contao-4-HTML-in-%C3%9Cberschirften-erlauben