Advertisement
Guest User

Untitled

a guest
Aug 12th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. Net::SMTPAuthenticationError (534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbvd_
  2.  
  3. config.action_mailer.default_url_options = { host: "relsohod.herokuapp.com" }
  4. config.action_mailer.delivery_method = :smtp
  5. config.action_mailer.perform_deliveries = true
  6.  
  7. config.action_mailer.smtp_settings = {
  8. openssl_verify_mode: "none",
  9. tls: false,
  10. enable_starttls_auto: true,
  11. address: "smtp.gmail.com",
  12. domain: "mail.google.com",
  13. port: 587,
  14. user_name: "username@gmail.com",
  15. password: "password",
  16. authentication: "login",
  17. enable_starttls_auto: true
  18. }
  19.  
  20. ActionMailer::Base.smtp_settings = {
  21.  
  22. openssl_verify_mode: "none",
  23. tls: false,
  24. enable_starttls_auto: true,
  25. address: "smtp.gmail.com",
  26. domain: "mail.google.com",
  27. port: 587,
  28. user_name: "username@gmail.com",
  29. password: "password",
  30. authentication: "login",
  31. enable_starttls_auto: true
  32. }
  33.  
  34. # Devise settings.
  35. config.action_mailer.default_url_options = { :host => "localhost:3000" }
  36. config.action_mailer.delivery_method :smtp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement