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 => "san...@gmail.com",
  :password => "password"
}


On 1/5/10, ashu <rajeevsharm...@gmail.com> wrote:
> 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>


-- 
Sandip

---
www.funonrails.com
-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to