ashu
January 5, 2010, 5:26pm
1
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 .
ashu
January 7, 2010, 10:18am
2
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
ashu
January 13, 2010, 1:57am
3
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”
}
ashu
January 7, 2010, 2:33pm
4
thnx i used it message sent successfully but there is no msg in my inbox
ashu
January 13, 2010, 5:30pm
5
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
ashu
January 13, 2010, 2:28am
6
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.
Leadership is a potent combination of strategy and character. But if
you must be without one, be without the strategy.
– H. Norman Schwarzkopf