ruby on rails - ActionMailer and Gmail:: Very Slow to send email from application -
i've been using this tutorial build contact form application (rails 4.2, ruby 2.1). email address being used gmail one. i'm not sure how influence have on problem, tutorial indicates using devise (and project, have use scratch build log in system not devise)
the code works (as in, confirmation email has been sent appears , no errors recorded in development log) email never comes through. i've tested in development far.
my colleague working on similar project has said took awhile (as in, few hours day) application form send out. i've checked other stackoverflow questions same problem it's far not been useful.
this set in config/development.rb part (minus log in details of course)
config.action_mailer.raise_delivery_errors = true config.action_mailer.default_url_options = { :host => 'localhost:3000' } config.action_mailer.delivery_method = :test config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: "smtp.gmail.com", port: "587", domain: "gmail.com", authentication: "plain", enable_starttls_auto: true, user_name: 'my_user_name_is_here', password: 'my_password_is_here' }
is known issue, or missing obvious?
thanks
gmail uptight these things , i've experienced same sort of thing in projects. can try login gmail account directly , verify email indeed sent.
but more gmail preventing logging in remotely because application not deemed "secure" enough. if case go website: https://support.google.com/mail/answer/78754 , , click on "unlock captcha" option while logged in gmail, try again, should help.
Comments
Post a Comment