Exchange Sender: and From: headers in mod/invite
This commit is contained in:
parent
0f02d1a449
commit
9220025b12
|
@ -77,8 +77,8 @@ function invite_post(App $a)
|
||||||
$nmessage = $message;
|
$nmessage = $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
$additional_headers = 'From: ' . $a->getSenderEmailAddress() . "\n"
|
$additional_headers = 'From: ' . $a->user['email'] . "\n"
|
||||||
. 'Sender: ' . $a->user['email'] . "\n"
|
. 'Sender: ' . $a->getSenderEmailAddress() . "\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