Exchange Sender: and From: headers in mod/invite

This commit is contained in:
Hypolite Petovan 2018-04-07 02:26:33 -04:00
parent 0f02d1a449
commit 9220025b12
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ function invite_post(App $a)
$nmessage = $message;
}
$additional_headers = 'From: ' . $a->getSenderEmailAddress() . "\n"
. 'Sender: ' . $a->user['email'] . "\n"
$additional_headers = 'From: ' . $a->user['email'] . "\n"
. 'Sender: ' . $a->getSenderEmailAddress() . "\n"
. 'Content-type: text/plain; charset=UTF-8' . "\n"
. 'Content-transfer-encoding: 8bit';