{% extends 'base.html.twig' %} {% block title %}Send test e-mail{% endblock %} {% block h1 %}
MAILER_DSN
url is not configured.To be able to send e-mails you need to set "Transport" configuration.
There is already installed Amazon SES Transport.
To provide SES credentials, open .env.local
file and add following line:
MAILER_DSN=ses+smtp://ACCESS_KEY:SECRET_KEY@default?region=eu-west-1
Replace ACCESS_KEY
, SECRET_KEY
and eu-west-1
with your SES settings.
Refresh page, when it's done.
More information about Symfony Mailer: https://symfony.com/doc/current/mailer.html
More about SES SMTP interface: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp.html