[eluser]Gram3000[/eluser]
Hi,
I recently created a My_email.php file to extend the native Email library so that I could add additional headers to outgoing emails.
It is working well, I can see the additional headers in the outgoing emails. However, The settings I have in place in the config/email.php file are no longer being used at all.
I can fix this by adding the email config settings directly in to the controller but that isn't an ideal solution as I would need to update several functions.
Does anyone know if it is possible to extend the Email library to add headers but also remain using the config/email.php settings?
Thank you.