From 9220025b123fa211c31ad4d48387d5b83092f473 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 7 Apr 2018 02:26:33 -0400 Subject: [PATCH] Exchange Sender: and From: headers in mod/invite --- mod/invite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/invite.php b/mod/invite.php index 03330f32cf..6807ff2c12 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -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'; -- 2.39.5