Hi everyone, I am new to ruby and i just wanna send an email using ruby action mailer. i have been trying it for about a day. Not achieved. so many replies came in from google but many were beating the bushes .. can any one send me a correct procedure.. regards ds -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Saravanan Doraiswamy wrote:> Hi everyone, > > I am new to ruby and i just wanna send an email using ruby action > mailer. i have been trying it for about a day. Not achieved. so many > replies came in from google but many were beating the bushes .. > > can any one send me a correct procedure.. > > regards > > dsRefer the below URL: http://ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html At the starting of the page itself, an example code is given for sending mail. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
if it is not enough, look for clues in log files in railsapp/log making sure you check logs relevant to mode you run your app, eg. development.log if there''s nothing there you need to configure your railss application to send mails and report errors. My railsapp/config/environments/development.rb also has following config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.delivery_method = :sendmail #### As regards delivery_method it might be different on your system if you don''t have email server installed on it. You can find documentation how to configure rails to use googlemail, so it should be easy to adapt it to your needs Hope it helps. Jacek On 18 Mar, 11:53, Loganathan Ganesan <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Saravanan Doraiswamy wrote: > > Hi everyone, > > > I am new to ruby and i just wanna send an email using ruby action > > mailer. i have been trying it for about a day. Not achieved. so many > > replies came in from google but many were beating the bushes .. > > > can any one send me a correct procedure.. > > > regards > > > ds > > Refer the below URL:http://ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html > > At the starting of the page itself, an example code is given for sending > mail. > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, In this mean time, i downloaded a youtube video and followed the procedure, now i am getting this error : E:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:105:in `const_missing'' E:/Users/Jithu/RubyMails/gmailer/app/controllers/notifications_controller.rb:3:in `create'' can you help me get out of this regards, ds Loganathan Ganesan wrote:> Saravanan Doraiswamy wrote: >> Hi everyone, >> >> I am new to ruby and i just wanna send an email using ruby action >> mailer. i have been trying it for about a day. Not achieved. so many >> replies came in from google but many were beating the bushes .. >> >> can any one send me a correct procedure.. >> >> regards >> >> ds > > Refer the below URL: > http://ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/index.html > > At the starting of the page itself, an example code is given for sending > mail.-- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.