From: Michael Date: Sat, 27 Mar 2021 21:23:31 +0000 (+0000) Subject: Issue 4755: Use the system mail address as sender X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f4649b9f0e1a2b1e96e295bf1d5556b556410eb4;p=friendica.git Issue 4755: Use the system mail address as sender --- diff --git a/src/Module/Invite.php b/src/Module/Invite.php index 287478954c..be7418bb7c 100644 --- a/src/Module/Invite.php +++ b/src/Module/Invite.php @@ -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';