https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-06-18T11:04:56ZRedmineRedmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=391092012-06-18T11:04:56ZМаксим Лазарев
<ul></ul><p>have the same problem, tell me, please, what's the problem?</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=401862012-08-04T13:45:15ZGregory Engels
<ul></ul><p>see also related issue <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: Fixed attachments handling when receiving a new issue by mail (New)" href="https://www.redmine.org/issues/11499">#11499</a> (with a patch)</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=487322013-04-18T09:58:27ZSteffen Zieger
<ul><li><strong>File</strong> <a href="/attachments/9568">redmine_attachments_save.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9568/redmine_attachments_save.diff">redmine_attachments_save.diff</a> added</li></ul><p>The following patch is working for me on Redmine 2.3.0</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=680782015-12-22T18:21:38ZSebastian Paluch
<ul></ul><p>This is still needed for 3.2.0.</p>
<p>This is very minor change. Can this be addressed soon?</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=706192016-04-29T14:16:53ZMoritz D
<ul></ul><p>I'm using 3.2.0</p>
<p>same problem as issue author<br />"new issue is created but without attachments. Message is marked read and left in mailbox"</p>
<p>applying redmine_attachments_save.diff did not help. should it resolve the problem? is noone else using email attachments?</p>
<p>any suggestions?<br />thank you in advance</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=721082016-07-10T22:29:37ZPrabhash Mishra
<ul></ul><p>I too am having the same problem on Redmine 3.2.3<br />IMAP and Gmail<br />Ticket gets created but attachment is ignored.<br />The patch does not work either. <br />Does anyone have a fix on this? Please help...</p>
<p>Thanks & Regards,<br />Prabhash</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=726182016-08-09T18:42:16ZAkhilesh Sabharwal
<ul></ul><p>Facing the same issue on Redmine 3.3.0.<br />Facing the same issue. All functions of retrieving mail working, except for attachments. On IMAP / POP3</p>
<p>Could this be a function of the IMAP server?</p>
<p>In which case will try an alternative.</p>
<p>Thanks,<br />Akhilesh</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=737012016-09-22T06:32:02ZAlexandr Meshkov
<ul></ul><p>It works on Redmine 3.3.0, if you run the command via cron</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=801512017-07-20T14:03:50ZJaneks Kamerovskis
<ul></ul><p>I have the same problem with:</p>
<blockquote>
<p>Environment:<br />Redmine version 3.3.3.stable<br />Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]<br />Rails version 4.2.7.1<br />Environment production<br />Database adapter Mysql2</p>
</blockquote>
<p>Where could I look / dig to find the solution?</p>
<p>brgds<br />Janeks</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=839572018-03-12T12:02:59ZNicolas Silberzahn
<ul></ul><p>Please fix this! My Incomming emails from Evernote contains only inline images (hand writing)</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=979352020-05-26T02:21:34ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/25470">10721-fixed.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/25470/10721-fixed.patch">10721-fixed.patch</a> added</li></ul>The problem could not be reproduced, but the possible causes are:
<ol>
<li>The process to add the attachments is performed after <code>issue#save!</code></li>
<li>Attachments are added directly to <code>issue#attachments</code>, but originally it must go through <code>#saved_attachments</code> defined in acts_as_attachable.</li>
</ol>
<p>I created a patch.</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=980112020-05-30T09:32:43ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=1020822021-04-19T03:37:18ZWicky Hu
<ul></ul><p>I tested 10721-fixed.path in latest 4.2.0, it seems only working for one attachment.<br />If there are two or more attachments in email, then only the first attachment shown in notification mail.</p>
<p>I guess the reason is new issue email is created when first attachment added and issue saved, after that, remaining attachments added and saved.</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=1021312021-04-20T07:55:15Zanju dhiman
<ul></ul><p>We also want to get all attachments from email when any ticket is creating.<br />Can you guys help us?</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=1021622021-04-21T08:54:22ZNicolas Silberzahn
<ul></ul><p>+1 (3 years after!)</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=1021632021-04-21T09:31:35Zanju dhiman
<ul></ul><p>guys is there any possibility to have this feature?</p> Redmine - Defect #10721: Loss of attachments while fetching emails from IMAP (GMail)https://www.redmine.org/issues/10721?journal_id=1022082021-04-23T13:30:44ZWicky Hu
<ul></ul><p>I think to change the add_attachments method could solve the issue, basically to change << to build, not yet fully tested, but seems working.</p>
<pre>
# obj.attachments << Attachment.create(:container => obj,
# :file => attachment.body.decoded,
# :filename => attachment.filename,
# :author => user,
# :content_type => attachment.mime_type)
obj.attachments.build(:container => obj,
:file => attachment.body.decoded,
:filename => attachment.filename,
:author => user,
:content_type => attachment.mime_type)
</pre>