Skip to content

Email server

GDPR requires handling emails in a secure way.

We recommend configuring a secure SMTP transport (here in parameters.yml):

1
2
3
4
5
6
7
8
mailer_host: <your mail server>
mailer_port: 465
mailer_encryption: ssl
# the following stream_options configuration is required only if the mail server uses a self signed certificate
mailer_stream_options:
    ssl:
        verify_peer: false
        verify_peer_name: false

Required configuration for Swift Mailer:

1
2
3
4
5
swiftmailer:
...
    port: '%mailer_port%'
    encryption: '%mailer_encryption%'
    stream_options: '%mailer_stream_option%'