MasoniteFramework / masonite4

Temporary Repository for a Masonite Rewrite for Masonite 4
14 stars 3 forks source link

added custom mail headers #198

Closed josephmancuso closed 3 years ago

josephmancuso commented 3 years ago

Closes #107

Adds the ability to add custom email headers:

    def build(self):
        return (
            self.to("idmann509@gmail.com")
            .header("X-Custom", 'value')
            .from_("joe@masoniteproject.com")
        )