Category: rfc

How can I make my email username comply with RFC 2822 using swiftmailer in Symfony?

I try to setup the email configuartions for swiftmailer in services.yaml parameters: mailer: smtp_host: ‘abc123.webthing.myhost.de’ smtp_port: 587 smtp_cert: ‘tls’ smtp_username: ‘ab12345-laura’ smtp_password: ‘secret’ This is the mailer service: <?php /** * Service that can be used to send email using…