#3 楼 @nevernet 换成 address: "smtp.126.com", port: 25, domain: "126.com", authentication: "plain", user_name: "[email protected]", password: "password" 一样的错误
#2 楼 @yorzi 60 行是 OrderNotifier.received(@order).deliver class OrderNotifier < ActionMailer::Base 中 def received(order) @order = order mail to: "[email protected]" end
自己顶一下。。。没人有线索吗?