-
If I do: MyNotifier.with(record: thing).deliver('[email protected]') I get an exception about how strings don't have base classes. If I do: MyNotifier.with(record: thing).deliver(User.new(email: '[email protected]')) to try and get around that, I get a Is there any way to do this, or am I out of luck here? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In this case, you don't have a recipient object to deliver to, so you will want to use a bulk delivery. I would use |
Beta Was this translation helpful? Give feedback.
In this case, you don't have a recipient object to deliver to, so you will want to use a bulk delivery.
I would use
MyNotifier.with(record: thing, email: "[email protected]").deliver
and use a Bulk Delivery method to send the email. You'll have to create a custom bulk email delivery method that sends the mailer as well.