1
0
Fork 0

Issue 4755: Use the system mail address as sender

This commit is contained in:
Michael 2021-03-27 21:23:31 +00:00
parent 4b52da84c3
commit f4649b9f0e

View file

@ -95,8 +95,7 @@ class Invite extends BaseModule
$nmessage = $message; $nmessage = $message;
} }
$additional_headers = 'From: ' . $app->user['email'] . "\n" $additional_headers = 'From: "' . $app->user['email'] . '" <' . DI::emailer()->getSiteEmailAddress() . ">\n"
. 'Sender: ' . DI::emailer()->getSiteEmailAddress() . "\n"
. 'Content-type: text/plain; charset=UTF-8' . "\n" . 'Content-type: text/plain; charset=UTF-8' . "\n"
. 'Content-transfer-encoding: 8bit'; . 'Content-transfer-encoding: 8bit';