use php_eol for all mail header generation

This commit is contained in:
zotlabs
2019-03-16 15:28:21 -07:00
parent 3c701e780c
commit a976f418e3
2 changed files with 14 additions and 14 deletions

View File

@@ -1799,8 +1799,8 @@ function z_mail($params) {
$messageHeader =
$params['additionalMailHeader'] .
"From: $fromName <{$params['fromEmail']}>\n" .
"Reply-To: $fromName <{$params['replyTo']}>\n" .
"From: $fromName <{$params['fromEmail']}>" . PHP_EOL .
"Reply-To: $fromName <{$params['replyTo']}>" . PHP_EOL .
"Content-Type: text/plain; charset=UTF-8";
// send the message