プロジェクト

全般

プロフィール

Vote #65608

未完了

E-mail notifications for issue update/creation should include the attachments in the email

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
-
開始日:
2009/08/19
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
0
issue_org_id:
3760
author_id:
3992
assigned_to_id:
0
comments:
33
status_id:
1
tracker_id:
2
plus1:
10
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.


journals

--------------------------------------------------------------------------------
I reworded the subject so it's a little easier to understand.
--------------------------------------------------------------------------------
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).
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Sorry, I should mention that patch is against Redmine 1.0.5.
--------------------------------------------------------------------------------
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.-
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
+1 for this feature
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Brian Crowell wrote:
> Here are versions of the patches against Redmine 1.4.3.

These patches does not work with Redmine 2.3.x :(

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
I Need the Function, too.

Redmine Version 2.3.2
--------------------------------------------------------------------------------
The system used by redmine.org has this function. How did you activate it?

Look to the attachment.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
+1
We also need this feature for 2.3.4. Is it going to be aplied in future?
--------------------------------------------------------------------------------
+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.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
We also need this feature for Redmine 2.3.x (or 2.6.x). Does anyone has a working patch?

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
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 the @Attachment.create@ statement to avoid saving the issue first)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1

Our vendors communicate with our Redmine only via email so they can never get attached files.
--------------------------------------------------------------------------------
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 the @Attachment.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.

--------------------------------------------------------------------------------
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)
--------------------------------------------------------------------------------
Now trying plugin version based on conversation on this thread.
https://github.com/team888/redmine-issue_mail_with_attachments-plugin
--------------------------------------------------------------------------------
Thank you very much it works with this following correction:

* File.binread(attachment.diskfile)

--------------------------------------------------------------------------------
Above plugin is listed on Plugins Directory now:
http://www.redmine.org/plugins/issue_mail_with_attachments
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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 ?
--------------------------------------------------------------------------------


related_issues

relates,Reopened,2770,Display of inline attached images in email notification
relates,Closed,12293,Add links to attachments in new issue email notification
duplicates,Closed,12516,Issue Email Notification To Include Attachments
duplicates,Closed,4242,Send and attachment
duplicates,Closed,3152,Embed images in the notify emails instead of write a image link to redmine server

Admin Redmine さんがほぼ2年前に更新

  • カテゴリEmail notifications_9 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0