Support the ongoing development of Laravel.io →
IOC Packages Architecture
Last updated 6 months ago.
0

acemary4918 said:

To change a Header's content you should know what type of header it is and then call it's appropriate setter method. All headers also have a setFieldBodyModel() method that accepts a mixed parameter and delegates to the correct setter.

To modify an existing header:

Get the HeaderSet from the entity by via its getHeaders() method. Get the Header by using the HeaderSet's get(). Call the Header's appropriate setter method or call the header's setFieldBodyModel() method.

Dude, what is that answer? Not related to question at all.. I still need help with this one as I didn't manage to get it working.. Please someone :)

0

Changing the behavior is not easy there is a solution with service providers.

Basically if you go to app.php there is a mail service provider create your own mail service provider and extends to the laravel service provider and then you will be able to change the instantiate classes

However laravel has events for the emails that are sent t

0

I will try your solution, however I have no Idea how.. I will google that. PS: Your answer seems to be incomplete (about the events), is there anything important I should know?

0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

raphjutras raphjutras Joined 30 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.