From: gregarican Date: 2009-01-16T06:24:06+09:00 Subject: Programmatically adding an Excel attachment I've checked out this page --> http://www.tutorialspoint.com/ruby/ruby_sending_email.htm that shows how to e-mail a text file attachment.I'm trying to attach an Excel file, but the receiver gets a corrupted file attachment. I've changed the Content-Type: in the MIME header to application/vnd.ms- excel but it doesn't seem to work. Anyone care to offer a quick code snippet that will fit the bill?