Feature #3760
openE-mail notifications for issue update/creation should include the attachments in the email
0%
Description
When I send an attachment via e-mail, or via "New Issue" tab, the e-mail notification is sent, but without the attachmemnt.
I think that the e-mail notifications for Issues should have the attached files on it.
In my situation, some users just have access to the system via e-mail, and at the moment, they can't use the feature of attaching files on the Issues on received e-mails from Redmine.
Files
Related issues
Updated by Jean-Philippe Lang over 15 years ago
- Tracker changed from Defect to Feature
Updated by Eric Davis about 15 years ago
- Subject changed from E-mail notifictions don't come with attachments to E-mail notifictions for issue update should include the attachments in the email
I reworded the subject so it's a little easier to understand.
Updated by claude g about 14 years ago
I'm interested too if you could have a patch. You can add a link with Patch #2724 also it seems (those two issues are similar).
Updated by Brian Crowell over 13 years ago
- File email-attachments.patch email-attachments.patch added
This patch will add attachments to outbound emails, but it requires a fix to #2770 first. I have another patch there, but it's very hackish.
Updated by Brian Crowell over 13 years ago
Sorry, I should mention that patch is against Redmine 1.0.5.
Updated by Terence Mill over 13 years ago
That should be an option. Think of bigger files send out x times and many projects see redmine as central document store, so copying files all over isnT wished.
Ir would be usefuly in any case if any attachment gets added as http link to the attachment below the ticket text if not already linked in the ticket description itself.-
Updated by Enderson Maia over 13 years ago
Terence Mill wrote:
That should be an option. Think of bigger files send out x times and many projects see redmine as central document store, so copying files all over isnT wished.
Ir would be usefuly in any case if any attachment gets added as http link to the attachment below the ticket text if not already linked in the ticket description itself.-
In my case, some people don't have web access to Redmine, just via e-mail, they couldn't get via http link.
Updated by Al McNicoll almost 12 years ago
I tried applying Brian Crowell's patch on a 1.2 install and found that it did create attachments, but the attachments were just text files containing the text of the update and the main ticket description. I suspect that this must therefore be a change between versions 1.0.5 and 1.2.0. Or maybe this is a consequence of the mentioned #2770?
Is there anyone out there with a little more Ruby experience than me who could look at the patch and bring it more up to date?
Updated by Brian Crowell almost 12 years ago
- File redmine-2770-hack-1.4.3.patch redmine-2770-hack-1.4.3.patch added
- File redmine-3760-1.4.3.patch redmine-3760-1.4.3.patch added
Here are versions of the patches against Redmine 1.4.3.
What you're seeing is not #2770. #2770 is about the timing of adding the attachments to the issue before sending out notifications. It probably has more to do with setting the multipart/alternative content type on the email, which I see I've dropped in my latest patch.
I should also mention that my #3760 patch might only work on Linux, since I'm using the "file" command to generate a content-type.
Updated by Etienne Massip over 11 years ago
- Subject changed from E-mail notifictions for issue update should include the attachments in the email to E-mail notifications for issue update/creation should include the attachments in the email
Updated by Dmitry K over 11 years ago
Brian Crowell wrote:
Here are versions of the patches against Redmine 1.4.3.
These patches does not work with Redmine 2.3.x :(
Updated by Selim Arslan over 11 years ago
I Need the Function, too.
Redmine Version 2.3.2
Updated by Selim Arslan over 11 years ago
The system used by redmine.org has this function. How did you activate it?
Look to the attachment.
Updated by Pavel Liavonau about 11 years ago
Dmitry K wrote:
Brian Crowell wrote:
Here are versions of the patches against Redmine 1.4.3.
These patches does not work with Redmine 2.3.x :(
It is very useful function for those people, who like to use only email client. They need to see the attach icon with notification of changing/creating issue. Now they need to go to redmine site on almost every mail to look for attachments.
Developers, please include this feature in roadmap, or update the patches up to current stable version.
Thanks.
Updated by Paweł Pielat over 10 years ago
+1
We also need this feature for 2.3.4. Is it going to be aplied in future?
Updated by Fabian Strasser about 10 years ago
+1
There is still high demand for that feature. Our company could need that feature greatly for the daily routine. Please make it an official patch for the next minor/major release candidate.
This should be opt-in however, like there's a checkbox that needs activation within the projects' settings, meaning this should be a per-project setting.
Scenario why the current situation with only attachment-links being sent isn't (always) good:
0. We run an internal hotline where departments can pop-in general questions. Usually these are answered by the hotline guys directly. Sometimes however they need help from another department that has specialised information.
1. Only our hotline guys have access to the Redmine installation to view and edit tickets. We additonally defined a usergroup that is only allowed to comment on tickets, nothing more. This groups' purpose is to enable those people to send in comments/replies via email.
2. An issue is created, however help from another department is needed. The issue gets assigned to one of the persons of the group mentioned above. The person gets an email notification with the issue and the request on what to do/how to help. However - in case that there are attachments - those aren't sent along, but only linked.
3. Now the person has to click the link and has to sign in into the system for viewing the attachment. For that we had to enable the usergroup additonal rights to view documents.
Here the patch could help. Instead of having to click a link, logging in and looking at the attachment there (and having to grant those people additional rights within the system), the person could just have it mailed to his/her inbox directly.
Updated by Rhiino Rex almost 10 years ago
+1
We also need this feature for Redmine 2.3.x (or 2.6.x). Does anyone has a working patch?
Updated by Brian Crowell about 9 years ago
- File redmine3.1-3760.patch redmine3.1-3760.patch added
Greetings! Well, there was finally a reason at our company to update to Redmine 3.1, and so of course I had to update the patch that lets us get issue attachments via email. This should be the only patch you need. patch -p1 < redmine3.1-3760.patch
should do the trick.
This patch:
- places attachments in outbound emails for issue creation and updates
- adds attachments before creating the issue in the inbound mail handler so they're available to the mailer (
:container
is removed from theAttachment.create
statement to avoid saving the issue first)
Updated by Go MAEDA over 8 years ago
- Has duplicate Feature #4242: Send and attachment added
Updated by Miodrag Milic over 8 years ago
+1
Our vendors communicate with our Redmine only via email so they can never get attached files.
Updated by Anthony BROCHET almost 8 years ago
- File RefreshPicture.png RefreshPicture.png added
Brian Crowell wrote:
Greetings! Well, there was finally a reason at our company to update to Redmine 3.1, and so of course I had to update the patch that lets us get issue attachments via email. This should be the only patch you need.
patch -p1 < redmine3.1-3760.patch
should do the trick.This patch:
- places attachments in outbound emails for issue creation and updates
- adds attachments before creating the issue in the inbound mail handler so they're available to the mailer (
:container
is removed from theAttachment.create
statement to avoid saving the issue first)
Hello,
Does the patch only work with a text format attachment? Is it normal?
You can find attach an image sent from a notification of Redmine.
Thank you for your help.
Updated by hide hokawa almost 8 years ago
Hi Anthony, following modification in redmine3.1-3760.patch fixed attachment corruption issue occurred on my win environment.
old code: File.read(attachment.diskfile)
new code: File.binread(attachment.diskfile)
(two locations need modified)
Updated by hide hokawa almost 8 years ago
Now trying plugin version based on conversation on this thread.
https://github.com/team888/redmine-issue_mail_with_attachments-plugin
Updated by Anthony BROCHET almost 8 years ago
Thank you very much it works with this following correction:
- File.binread(attachment.diskfile)
Updated by team 888 almost 8 years ago
Above plugin is listed on Plugins Directory now:
http://www.redmine.org/plugins/issue_mail_with_attachments
Updated by Toshi MARUYAMA about 7 years ago
- Has duplicate Feature #3152: Embed images in the notify emails instead of write a image link to redmine server added
Updated by William Boulet almost 7 years ago
Just tried to install plugin http://www.redmine.org/plugins/issue_mail_with_attachments on a Windows server installation (Bitnami stack), but after placing the plugin Redmine services don't start anymore.
Is it only linux compatible ?
Updated by Jon Goldberg over 1 year ago
After waiting years for a Redmine 4 (then Redmine 5) version of http://www.redmine.org/plugins/issue_mail_with_attachments or this bug to be fixed, I decided to teach myself Ruby and write the plugin myself: https://github.com/MegaphoneJon/redmine_email_attachments
This is literally my first Ruby project, so there's no warranty express or implied! In particular, it assumes your files are in `/usr/src/redmine/files`, because that's where they are in my Docker install.