Sending Emails with Rails, multipart html plain with Attachments

When trying to send attachments along with type versons of an email (html and plain text) you might notice that there is no content in your email message.  While I found this out too.  Simple if not over the top solution. The trick is that you have to put the html and plain part inside […]

Posted on June 3, 2010 at 5:36 am by Jordan Carter · Permalink · 3 Comments
In: Ruby on Rails · Tagged with: , ,

Fetch Email Attachments with Ruby on Rails

This snippet is used in one of my projects to automatically import a csv into the database. It uses cron to check an email account via IMAP. When a unread email is found it will try to match it to subject lines in the database. If there is an entry it will attempt to import […]

Posted on December 28, 2009 at 8:34 am by Jordan Carter · Permalink · Leave a comment
In: Ruby on Rails · Tagged with: , , , , ,