我正在尝试设置我的rails 4 app,以便发送电子邮件.有谁知道我为什么得到:
Net::SMTPAuthenticationError
534-5.7.9 Application-specific password required.
Run Code Online (Sandbox Code Playgroud)
??????
我正在使用设计,并且刚刚设置了一个单独的"共享"邮件程序来发送电子邮件.我已尝试按照其他对此类问题的回复中的建议访问accounts.google.com/b/0/DisplayUnlockCaptcha,但当我重新启动服务器并尝试以用户身份发送电子邮件时,没有任何变化.
有任何想法吗?干杯!
配置/环境/ development.rb:
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Do not eager load code on boot.
config.eager_load = false
# …Run Code Online (Sandbox Code Playgroud)