aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-16 16:12:57 -0700
committerzotlabs <mike@macgirvin.com>2018-04-16 16:12:57 -0700
commit1662f76f03e8f12adeaeb91ee1745aa070f317fe (patch)
tree0c6040f726f7a0b1b3b81fdd71a7463f3401483f
parent19888b95cc99a4a1333431909067b8147de7892c (diff)
downloadvolse-hubzilla-1662f76f03e8f12adeaeb91ee1745aa070f317fe.tar.gz
volse-hubzilla-1662f76f03e8f12adeaeb91ee1745aa070f317fe.tar.bz2
volse-hubzilla-1662f76f03e8f12adeaeb91ee1745aa070f317fe.zip
hubzilla issue #1078 ; provide content-type header for system emails (was already correct for notification emails)
-rw-r--r--include/network.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index db9a7d00a..747b46877 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1845,7 +1845,8 @@ function z_mail($params) {
$messageHeader =
$params['additionalMailHeader'] .
"From: $fromName <{$params['fromEmail']}>\n" .
- "Reply-To: $fromName <{$params['replyTo']}>";
+ "Reply-To: $fromName <{$params['replyTo']}>\n" .
+ "Content-Type: text/plain; charset=UTF-8";
// send the message
$res = mail(