Plugin to manipulate email from and reply-to fields of email notifications
Added by Markus Andree over 11 years ago
Hello,
I wondered if there are any plugins out there to change the email fields of mails send for email notification. I searched the web, the forums and the issue trackers with some results:
- Sending notification e-mails with different "From" addres...
- Email notifications sent from the same email address
- Mails sent by redmine received as SPAM.
- Patch #2406 - In email notification, send a email with sender as author
All of these are related to what I want to do at the moment. The main idea behind all of these is to be able to change the from and reply_to fields of the send emails, so you can easily see who did the changes, and you can have more than one mail account for email receiving, or different accounts for sending and receiving mails.
What I didn't find on my search was a plugin to do all of this. So my main question: Does anyone know a plugin that is capable of doing this, or have another idea how to do it. If there is no plugin to do this, perhaps I will try to make one. But as I'm new to redmine plugin development, I would appreciate some pointers on how to implement this, and where to hook into redmine, to get it done the best way.
Thanks in advance,
Markus
PS: I love redmine, thanks for putting your effort into this great product
Replies (7)
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Jan Niggemann (redmine.org team member) about 11 years ago
Mails sent by redmine received as SPAM.
is not related, as redmine doesn't have anything to do with email being classified as SPAM (it's the mail server who does).
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Markus Andree about 11 years ago
The main goal of OP in Mails sent by redmine received as SPAM. is to change the from field, but redmine uses the sender address for both, from field and list-id field. When you type something suspicious in the from field, the list-id field has the same content and some spam filters don't like that. If you could customize the from field (as what is exactly what I try to do) this would be solved as well.
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Jan Niggemann (redmine.org team member) about 11 years ago
Markus Andree wrote:
When you type something suspicious in the from field, the list-id field has the same content and some spam filters don't like that.
If something is "suspicious" or not is decided upon by your SPAM filter. "Ticket System <DoNotReplys@mydomain.com>" is a perfectly valid address and confirms 100% to the relevant RFC. Should an address in this form be classified as SPAM just because of the form of the address, then the SPAM filter broken and needs to be properly configured.
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Markus Andree about 11 years ago
<Ticket System <DoNotReplys@mydomain.com>> is valid as well?
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Jan Niggemann (redmine.org team member) about 11 years ago
Markus Andree wrote:
<Ticket System <DoNotReplys@mydomain.com>> is valid as well?
An address of this form wasn't mentioned in "Mails sent by redmine received as SPAM", wasn't it? Anyway, double angle brackets are not permitted. What's inside the angle brackets is called addr-spec and must conform to RFC 5322, which the aove example wouldn't.
http://tools.ietf.org/html/rfc5322#section-3.4
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Markus Andree about 11 years ago
Lets get this back to its OP: Mails sent by redmine received as SPAM.
RE: Plugin to manipulate email from and reply-to fields of email notifications - Added by Cecillovelly Lee about 11 years ago
Than you very much for your contribution.
You wrote this in the Wikipage shown above, could you show the sql also in your repository?