1
0
Fork 0

Transform email header string to header array & replace it at various situations.

This commit is contained in:
Philipp Holzer 2020-09-19 20:14:55 +02:00
commit ac1d2cf38f
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
7 changed files with 75 additions and 28 deletions

View file

@ -83,11 +83,18 @@ interface IEmail extends JsonSerializable
function getMessage(bool $plain = false);
/**
* Gets any additional mail header
* Gets the additional mail header array
*
* @return string[][]
*/
function getAdditionalMailHeader();
/**
* Gets the additional mail header as string - EOL separated
*
* @return string
*/
function getAdditionalMailHeader();
function getAdditionalMailHeaderString();
/**
* Returns the current email with a new recipient