How to connect SULU to SMTP email? #327
-
Most content management systems (CMS) offer the possibility to set up the e-mail configuration to use SMTP instead of the PHP mail function. I could not find anything in the docs about either SMTP or the PHP mail function. How is the problem solved in Sulu? Thx |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Emails are handled in Sulu over Symfony. Currently it uses the 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 |
Beta Was this translation helpful? Give feedback.
Emails are handled in Sulu over Symfony. Currently it uses the
swiftmailer
package and soSwiftmailerBundle
which you configure in your.env
files (normally.env.local
) via theMAILER_URL
: https://github.com/sulu/skeleton/blob/74a98c4114ab5c7b19656b6604d86eacdbe47bb6/.env#L34See 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.