task #173
Add special headers to mails to avoid being seen as spammers
| Status: | Closed | Start date: | 06/15/2011 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 0.3 |
Description
After discussing with the sysadmins, I learned that there are special headers we can add to mails, to help avoiding them to be seen as spam.
[10:54] <boklm> Auto-Submitted: auto-generated [10:54] <boklm> Precedence: bulk
misc also suggests to check what mailman and sympa add to the headers of their mails. We can check what phpbb does too.
History
Updated by Vyacheslav Blinov almost 2 years ago
- Status changed from New to In progress
- Assignee set to Vyacheslav Blinov
Updated by Vyacheslav Blinov almost 2 years ago
Just a quick note, for myself mostly.
To add this header I will use SwiftMailer header mechanism, like this:
$headers = $message->getHeaders();
$headers->addTextHeader('Auto-Submitted', 'auto-generated');
Other usefull values of Auto-Submitted header can be no, auto-replied and auto-notified, witch, according to RFC5436, is indicates that a message was generated by a Sieve notification system.
Updated by Vyacheslav Blinov almost 2 years ago
- Status changed from In progress to Feedback
Updated by Samuel Verschelde over 1 year ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
This particular issue is closed, however I'm opening a new one for best e-mail sending practices so that we lessen the risks to be seen as spammers.