2đź‘Ť
âś…
Ahhh that was easy.
I just had to set
EMAIL_BACKEND = 'mailer.backend.DbBackend'
in the settings file, like this
Now, “normal” send_mail calls will behave like mailer.send_mail and store the email to the database.
So there’s no need to replace the calls themselves.
👤Tony Lâmpada
Source:stackexchange.com