Sulu CMS
How to connect SULU FormBundle to SMTP email?
Most content management systems (CMS) offer the possibility to set up the e-mail configuration to use SMTP instead of the PHP mail function. We could not find anything in the docs about either SMTP or the PHP mail function. How is the problem solved in Sulu?
Emails are handled in Sulu over Symfony. Currently it uses the swiftmailer
package and so SwiftmailerBundle
which you configure in your .env
files (normally .env.local
) via the MAILER_URL
:
https://github.com/sulu/skeleton/blob/74a98c4114ab5c7b19656b6604d86eacdbe47bb6/.env#L34
See also https://symfony.com/doc/4.4/reference/configuration/swiftmailer.html#transport
What the near future holds
In the next minor release SULU will switch to the Symfony Mailer instead of Swiftmailer. Also there a MAILER_DSN
will exist to configure how you want to send the emails.
—-
Wie versende ich eine Mail über das FormBundle im Sulu?
- FormBundle installieren
- Eintrag SMTP URL in der .env prüfen
ANDERE THEMEN
Wo ist fefe?
Ein Blog verstummt. Ein Zertifikat läuft ab. Und mit einem Mal fühlt sich das Netz ein Stück leerer an.
KI im Mittelstand: LLMs verstehen und erfolgreich einsetzen
Was sind LLMs – und warum sind sie relevant für Ihr Unternehmen?
Single-Page-Webanwendungen (SPA) – Eine Einführung
Nutze unseren maßgeschneiderten CSV-Import, um Produktdaten schnell und präzise in Akeneo PIM zu integrieren.