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

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

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 => “[email protected]”,
:password => “password”
}

On 1/5/10, ashu [email protected] wrote:

You received this message because you are subscribed to the Google G.
“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=en.


Sandip


www.funonrails.com

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 => “[email protected]”,
:password => “gmail_password”
}

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

awesome…

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

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_content_type = “text/html”
ActionMailer::Base.smtp_settings = {
:address => “smtp.gmail.com”,
:port => 587,
:enable_starttls_auto => true,
:user_name => “[email protected]”,
:password => “gmail_password”
}

now the email / login system is working

thanks curtis

On Tue, Jan 12, 2010 at 4:55 PM, dan [email protected] wrote:

  :user_name => “[email protected]”,
  :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.


Curtis C.
[email protected]
home:http://curtiscooley.com
blog:http://ponderingobjectorienteddesign.blogspot.com

Leadership is a potent combination of strategy and character. But if
you must be without one, be without the strategy.
– H. Norman Schwarzkopf

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs