mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:35:48 +08:00
2ac9fd9dff
When emails were forwarded to a group inbox by the email address of the group, for example when an email ends up in spam and must be manually forwarded to the group+site@discoursemail.com address, the OP of the topic ended up being the group's email address instead of the sender who originally sent the email to the group inbox. This commit detects that an email has been forwarded using existing tools, and if the from address matches one of the group incoming email addresses, then we look at the forwarded email's from address and use that instead for the incoming email from address as well as the staged/regular user used for the Topic.user. This will make it much cleaner to forward emails into a group inbox, and will prevent issues with PostAlerter where the OP is double-notified for these emails. |
||
---|---|---|
.. | ||
backups | ||
csv | ||
db | ||
emails | ||
encodings | ||
feed | ||
i18n | ||
images | ||
json | ||
md | ||
media | ||
mmdb | ||
multisite | ||
onebox | ||
plugins | ||
scss | ||
site_settings | ||
theme_settings | ||
themes | ||
woff2 |