Skip to content
Advertisement

add additional header to symfony mailer message

I don’t use the Symfony Framework. When I add my header like

JavaScript

then a $mailer->send($mail); doesn’t work anymore:-(

How do I send mail?

Advertisement

Answer

getHeaders functions return an header, so in your $mail, you dont have an email but a Header

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement