Skip to content

How to connect SULU to SMTP email? #327

Discussion options

You must be logged in to vote

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

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@normenrollf
Comment options

@alexander-schranz
Comment options

@normenrollf
Comment options

@alexander-schranz
Comment options

Answer selected by chirimoya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants