Issue 4755: Use the system mail address as sender
This commit is contained in:
parent
4b52da84c3
commit
f4649b9f0e
|
@ -95,8 +95,7 @@ class Invite extends BaseModule
|
|||
$nmessage = $message;
|
||||
}
|
||||
|
||||
$additional_headers = 'From: ' . $app->user['email'] . "\n"
|
||||
. 'Sender: ' . DI::emailer()->getSiteEmailAddress() . "\n"
|
||||
$additional_headers = 'From: "' . $app->user['email'] . '" <' . DI::emailer()->getSiteEmailAddress() . ">\n"
|
||||
. 'Content-type: text/plain; charset=UTF-8' . "\n"
|
||||
. 'Content-transfer-encoding: 8bit';
|
||||
|
||||
|
|
Loading…
Reference in a new issue