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 <[email protected]> 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 <[email protected]>
> 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 [email protected].
> > To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=.