From: sto.mar@... Date: 2012-10-06T23:24:11+09:00 Subject: Re: How to add mime module to sent email ruby Am 06.10.2012 14:46, schrieb Ferdous ara: > Hi > I am looking in google for long time about how to sent email with inline > image. and got this site > > http://rubydoc.info/gems/mime/frames > > i have installed gem install mime > its installed > but dont understand how to include MIME module in the code .. > > > "The following examples imply that the MIME module is included." In Ruby you can include a module into your own class, but you probably would not want to do that. > i am trying > > require 'rubygems' > require 'mime' > msg = Message.new > > i get "uninitialized constant Message (NameError) " The Message class is part of the MIME module, try msg = MIME::Message.new --