Nice tip. Thanks.
On Saturday, April 18, 2015 at 9:31:34 AM UTC-4, Robert O'Connor wrote:
>
> I would also advise using mailcatcher in development...you don't need
> gmail in development -- only maybe when you deploy to test production
> settings...
>
> On 04/16/2015 08:19 AM, Sai Ch wrote:
> > put this code in
> >
> > config/environments/development.rb
> >
> > config.action_mailer.raise_delivery_errors = true
> > config.action_mailer.default_url_options = { :host =>
> 'localhost:3000'
> > }
> > config.action_mailer.delivery_method = :smtp
> >
> > ActionMailer::Base.smtp_settings = {
> > :address => "smtp.gmail.com",
> > :port => 587,
> > :domain => "mail.gmail.com",
> > :user_name => “[email protected] <javascript:>",
> > :password => “gmail-password",
> > :authentication => "plain",
> > :enable_starttls_auto => true
> > }
> >
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/2f7dcc48-ca74-43e0-ad14-5b8eda354a7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.