mirror of
https://github.com/friendica/friendica
synced 2024-11-14 05:02:54 +00:00
Merge pull request #10089 from annando/issue-4755
Issue 4755: Use the system mail address as sender
This commit is contained in:
commit
ed639045fb
1 changed files with 1 additions and 2 deletions
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue