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
EU-Chatkontrolle stoppen: Gefährlicher Angriff auf unser digitalen Grundrechte
Die geplante EU‑Verordnung zur sogenannten Chatkontrolle soll die private Kommunikation aller Menschen in Europa automatisiert durchsuchen.
Vertriebsprofi (D A CH) aus dem Mittelstandsumfeld gesucht!
Du kennst die Herausforderungen mittelständischer Betriebe? Werde Vermittler für digitale Lösungen – mit starken Partnern
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.