As a beginner to this library, I managed to miss this in the docs:
self.to_emails = [user.email] # set list of emails to send to
Then, sending the email, I was confused as to why the email didn't go through. I finally looked in the admin and discovered a blank recipients list, while the given EmailNotification object also had its status set to "Success". It would be more intuitive (to me, at least) for this case to raise an exception or at least report a failure in its status field, as sending the message definitely didn't succeed.
As a beginner to this library, I managed to miss this in the docs:
Then, sending the email, I was confused as to why the email didn't go through. I finally looked in the admin and discovered a blank recipients list, while the given EmailNotification object also had its status set to "Success". It would be more intuitive (to me, at least) for this case to raise an exception or at least report a failure in its status field, as sending the message definitely didn't succeed.