Multipart mail

Hello,
I do i define the content_type if i want to send multipart mail through
rails.
Also, I some cases i want to send multipart mail (with attachments) and
in other cases i just want the content_type to be text/html..
Can anyone please suggest me what should I do...
Thank you.

Hi, I found some pages, take a look:
http://wiki.rubyonrails.org/rails/pages/HowToSendMimeMultipartEmailsWithActionMailer
http://api.rubyonrails.org/classes/ActionMailer/Base.html (see the “Multipart email” section)