Problem using inline attachments in E-Mails in Rails application

For some reason using an image within an html e-Mail (inline attachment) did display correctly in my rails application. Instead the attachment was displayed as a "normal" attachment in the attachment section of the E-Mail client.

process mailbox and extract attachments to directory

<p>Given is a network scanner, which has the ability to mail scans to a mailbox. the solution should contain a mailbox on a linux (ubuntu) server (already there) to which the mails are sent. in order to automate to process of opening a mail client and saving the attached scans to a folder, a script should be developed which listens for new mails in the mailbox and automatically extracts the attachments and saves them to a folder.</p>
Subscribe to attachment