我想发邮件。这是我的development.rb
设置:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
config.action_mailer.smtp_settings = {
address: "127.0.0.1",
port: 25,
domain: "mydomain.com",
authentication: "plain",
#enable_starttls_auto: true,
user_name: ENV["prem.regmi@braindigit.com "],
password: ENV[""]
}
我究竟做错了什么?