I am working on a project that doesn’t use any framework and I would like to use Symfony Mailer component to handle sending emails. The installation part (composer require) was well handled and everything is included in my code without any error. However, I still have a problem : the documentation of the component seems to be written only for
Tag: symfony-mailer
How to also send BCC to specific address during development with Symfony Mailer?
Symfony provides a way to send all emails to a specific email address during debugging and development but addressees in the BCC still receive the e-mail. This is very dangerous because you don’t want to send out any emails from your local dev environment. Is there a way to also deliver BCCs to a specific email address? Answer I wouldn’t
PHP Exception with symfony mailer
I’m a beginner with Symfony, and I have to put a Mailer in my web service. But I have a php exception that I don’t understand. There is my mailer function : private function sendMail(MailerInterface $…