Topic: Attachment form a file?
i am reading in mails and creating rails objects from that.
My code is working for form upload and attachments (it needs the methods original_filename, etc.)
I also want to save the text-part of an email as a file in my system, so i want to handle it like an attachment.
But if i create a file from the body-part, methods like original_filename are not present for regular files from File.