Defect #21742 » mail_handler.rb.patch
| mail_handler.rb (working copy) | ||
|---|---|---|
|
email.attachments.each do |attachment|
|
||
|
next unless accept_attachment?(attachment)
|
||
|
obj.attachments << Attachment.create(:container => obj,
|
||
|
:file => attachment.decoded,
|
||
|
:file => attachment.body.decoded,
|
||
|
:filename => attachment.filename,
|
||
|
:author => user,
|
||
|
:content_type => attachment.mime_type)
|
||