Extracting email attachments

I’m still pretty new to Rails, so I hope someone here can help me with a
problem I’m having.

I’ve made a simple blogging app and one main feature I want is the
ability to submit posts my email, together with an image attachment.

So far I’ve been able to get the email into my app and extract the text.
But I’m having problems with the image attachment.

So what would be the best approach to deal with the image attachments?

Ideally, having them extracted and stored in their original form in the
a directory (as opposed to as a blob in the database). Or perhaps passed
to file_column.

Sorry if this problem sounds a little odd but it’s something that’s been
giving me a headache recently, so I’d appreciate any advice.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs