Inline Attachment for mail

I need to attach images to the mails which are going from my
application. I have followed the comments and guidelines said in

The mail which is received by the user has both image and message

But the image which im getting doesnt gets fixed the place where it is

Images gets seperated from the message content.

At the end of the mail all the image are displayed…

in mailer.rb i have used as

@cid = + “[email protected]
inline_attachment :content_type => “image/gif”,
:body =>"#{RAILS_ROOT}/public/images/
:filename => abc.jpg
:cid => “<#{@cid}>”

and in view i called as

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