I add in my templates folder the following subfolders and files in order to override email messages (following docs https://github.com/pennersr/django-allauth#sending-e-mail)a :
templates/
account/
email/
email_confirmation_message.html
email_confirmation_message.txt
email_confirmation_subject.txt
The override works perfectly for *.txt version of email (meaning, I think, I have a correct folder structure) but my problem is the HTML version is not send over by django_allauth.
For those facing the same issue :
When it comes to email confirmation django_allauth checks if its a new user or not and looks for template accordingly :
So you'll have to override :
email_confirmation_message.txt
email_confirmation_signup_message.txt
and add HTML version
email_confirmation_message.html
email_confirmation_signup_message.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With