我加sendgrid
我在Heroku上的应用程序作为我的电子邮件发件人,但每次用户尝试注册,与文本“www.mydomain.com" is currently unable to handle this request"
。Heroku的日志不显示任何错误发生错误。这是我的production.rb
:Sendgrid不发送电子邮件
config.action_mailer.smtp_settings = {
:address => "smtp.sendgrid.net",
:port => "587",
:authentication => :plain,
:user_name => "<%= ENV['SENDGRID_USERNAME'] %>",
:password => "<%= ENV['SENDGRID_PASSWORD'] %>",
:domain => "mydomain.com",
:enable_starttls_auto => true
}
你在电子邮件中发送图片或文本严格? – bkunzi01
严格的文字,这是一个确认电子邮件与设计@ bkunzi – chrisgeeq
也许这是一个问题与设计的秘密密钥需要设置为生产,但我不能肯定地说。 – bkunzi01