mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Introduce NotifyEmailBuilder
This commit is contained in:
parent
e37b1c8794
commit
34dce9fd76
5 changed files with 244 additions and 104 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue