I dont know about that gem, but I dont see anything like mail.send! Look into the docs and look up which function you have to call for sending the message.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/HhrVSoztLVAJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I dont know about that gem, but I dont see anything like mail.send! Look into the docs and look up which function you have to call for sending the message.
Broken pipe
Am 04.06.2012 10:02 schrieb "amruby" <vgrkr...@gmail.com>:
I have used this code for sending mail, but i didn't get the mail from thisrequire 'rubygems'require 'mail'mail = Mail.newmail['from'] = 'ma...@mofobi.com'mail[:to] = @business.emailmail.subject = 'This is a test email'puts "..#{mail.to_s}"After this code execution i got like this, then why this not getting in mail inbox...?From: ma...@mofobi.com
Message-ID: <4fcc69739a98b_de525ce...@ubuntu.mail>Subject: This is a test emailMime-Version: 1.0Content-Type: text/plainContent-Transfer-Encoding: 7bit--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/HhrVSoztLVAJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/bybJXm2oHRIJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
Beautiful is
better than ugly,
Explicit is better than implicit,
Simple is better than complex,
Complex is better than complicated.
The Zen of Python, by Tim Peters
can you post the role stack fo errors please.At first everything seems ok. I'm gessing that maybe just some configuration error.If you can't resolve with that gem the ActionMailer gem doesn't solve your problem? There is a good documentation of the ActionMailer here http://guides.rubyonrails.org/action_mailer_basics.html
att,