hubzilla issue #1078 ; provide content-type header for system emails (was already correct for notification emails)

This commit is contained in:
zotlabs 2018-04-16 16:12:57 -07:00
parent 19888b95cc
commit 1662f76f03

View File

@ -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(