Hello, I want to do the user account activation using restful_authentication for that i have to send a mail to the subscribed user so that i can send a activation url for each user. I am able to create a activation url with activation code but the mails are not sending. I want to know the action mailer configuration for sending the mail. Please reply soon... Thanks.... -- 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=.
http://guides.rubyonrails.org/action_mailer_basics.html 2009/11/19 madhuri godade <madhurigodade-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> Hello, > > > I want to do the user account activation using restful_authentication > for that i have to send a mail to the subscribed user so that i can > send a activation url for each user. > > I am able to create a activation url with activation code but the > mails are not sending. > I want to know the action mailer configuration for sending the mail. > > Please reply soon... > Thanks.... > > -- > > 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@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=. > > >-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
Need a lot more information to help, but if you are running in development mode, check your log files for the body of the email. My guess is you are not configured to send them in dev. Start there. Darian Shimy -- http://www.darianshimy.com http://twitter.com/dshimy On Thu, Nov 19, 2009 at 3:01 AM, madhuri godade <madhurigodade-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, > > > I want to do the user account activation using restful_authentication > for that i have to send a mail to the subscribed user so that i can > send a activation url for each user. > > I am able to create a activation url with activation code but the > mails are not sending. > I want to know the action mailer configuration for sending the mail. > > Please reply soon... > Thanks.... > > -- > > 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@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=. > > >-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.
Hi Madhuri , Think you have not configured mailer settings in your environment.rb or in the initializers create a mail.rb file and add the following . ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "mail.your-domain.com", :port => 26, :domain => "www.your-domain.com", :authentication => :login, :user_name => "your_user_name", :password => "your_password" } Regards, Srinivas Iyer http://talkonsomething.com On Thu, Nov 19, 2009 at 10:08 PM, Darian Shimy <dshimy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Need a lot more information to help, but if you are running in > development mode, check your log files for the body of the email. My > guess is you are not configured to send them in dev. Start there. > > Darian Shimy > -- > http://www.darianshimy.com > http://twitter.com/dshimy > > > > On Thu, Nov 19, 2009 at 3:01 AM, madhuri godade <madhurigodade-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > Hello, > > > > > > I want to do the user account activation using restful_authentication > > for that i have to send a mail to the subscribed user so that i can > > send a activation url for each user. > > > > I am able to create a activation url with activation code but the > > mails are not sending. > > I want to know the action mailer configuration for sending the mail. > > > > Please reply soon... > > Thanks.... > > > > -- > > > > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=. > > > > > > > > -- > > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=. > > >-- 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=.