Answers for "send mail via rails console"

1

rails send test email

ActionMailer::Base.mail(
  from: "[email protected]", 
  to: "[email protected]", 
  subject: "Test", 
  body: "Test"
).deliver_now
Posted by: Guest on November-10-2020

Browse Popular Code Answers by Language