action mailer

hi i am new on rails

any one can tell me about a simple how to send a simple email on gmail i followed tutorial point.com but all in vain error 530 or many about actionmailer_tls i resolved but could not make a simple email pls tell me a application to send a simple email on gmail on windows thanks in advance

Following settings that needs to be added in environment.rb

ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.default_content_type = "text/html"

ActionMailer::Base.smtp_settings = {   :address => "smtp.gmail.com",   :port => 587,   :authentication => :plain,   :enable_starttls_auto => true,   :user_name => "sandip@gmail.com",   :password => "password" }

thnx i used it message sent successfully but there is no msg in my inbox

im having similar issues i see message in terminal window, but no email is there another log file or error to look for?

ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.default_content_type = "text/html" ActionMailer::Base.smtp_settings = {     :address => "smtp.gmail.com",     :port => 587,     :authentication => :plain,     :user_name => "gmail_username@gmail.com",     :password => "gmail_password" }

If you also set raise_delivery_errors => true then actionmailer will actually blow up with a stack trace instead of just pretending everything worked.

awesome...

i am using the restful_authentication plugin modified the mail.rb page to:

ActionMailer::Base.delivery_method = :smtp <b>ActionMailer::Base.raise_delivery_errors = true</b> ActionMailer::Base.default_content_type = "text/html" ActionMailer::Base.smtp_settings = {     :address => "smtp.gmail.com",     :port => 587,     <b>:enable_starttls_auto => true,</b>     :user_name => "gmail_username@gmail.com",     :password => "gmail_password" }

now the email / login system is working

thanks curtis