You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it should raise only if the to, bcc or cc is nil since by default those are empty lists.
If you do something like a wrote above it would still be an empty list, whereas setting it to nil probably means there was a problem where you expected the recipient to be something and it was accidentally nil.
While using this in one of our applications we had to do something like this
Maybe deliver_async should throw a warning? Maybe an option to allow empty_recipients?
Maybe this could be done at the mailer level via an option?
The text was updated successfully, but these errors were encountered: