https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b52da8
)
Issue 4755: Use the system mail address as sender
author
Michael
<heluecht@pirati.ca>
Sat, 27 Mar 2021 21:23:31 +0000
(21:23 +0000)
committer
Michael
<heluecht@pirati.ca>
Sat, 27 Mar 2021 21:23:31 +0000
(21:23 +0000)
src/Module/Invite.php
patch
|
blob
|
history
diff --git
a/src/Module/Invite.php
b/src/Module/Invite.php
index
2874789
..
be7418b
100644
(file)
--- 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';