aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-16 15:28:21 -0700
committerzotlabs <mike@macgirvin.com>2019-03-16 15:28:21 -0700
commita976f418e35a8f4651441a952c8f4c037cb8d2f9 (patch)
tree1465ff1c354e49d863fa8df3ac05e572aeb8c6b1 /include
parent3c701e780c31a497c8c81ad0a66221e90b6078a4 (diff)
downloadvolse-hubzilla-a976f418e35a8f4651441a952c8f4c037cb8d2f9.tar.gz
volse-hubzilla-a976f418e35a8f4651441a952c8f4c037cb8d2f9.tar.bz2
volse-hubzilla-a976f418e35a8f4651441a952c8f4c037cb8d2f9.zip
use php_eol for all mail header generation
Diffstat (limited to 'include')
-rw-r--r--include/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php
index 4ef976df0..c754625cd 100644
--- a/include/network.php
+++ b/include/network.php
@@ -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