📜  发送电子邮件 rails c 一行 - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:49.900000             🧑  作者: Mango

代码示例1
ActionMailer::Base.mail(from: 'from@domain.com', to: 'to@domain.com', subject: "Welcome to My Awesome Site", body: 'I am the email body.').deliver