Action mailer configuration

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....

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

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