Introduce NotifyEmailBuilder

This commit is contained in:
nupplaPhil 2020-02-03 00:07:22 +01:00
parent e37b1c8794
commit 34dce9fd76
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 244 additions and 104 deletions

View file

@ -139,6 +139,20 @@ abstract class MailBuilder
return $this;
}
/**
* Adds new headers to the default headers
*
* @param string $headers New headers
*
* @return static
*/
public function addHeaders(string $headers)
{
$this->headers .= $headers;
return $this;
}
/**
* Build a email based on the given attributes
*