Debian Codegraph @

docs/common/email.rst

raw
1 Sending Email
2 =============
3
4 Emails sent (e.g. in case of password forgotten or email
5 confirmation) can be altered by providing your own
6 templates. Templates are named as follows::
7
8 account/email/email_confirmation_signup_subject.txt
9 account/email/email_confirmation_signup_message.txt
10
11 account/email/email_confirmation_subject.txt
12 account/email/email_confirmation_message.txt
13
14 In case you want to include an HTML representation, add an HTML
15 template as follows::
16
17 account/email/email_confirmation_signup_message.html
18
19 account/email/email_confirmation_message.html
20
21 The project does not contain any HTML email templates out of the box.
22 When you do provide these yourself, note that both the text and HTML
23 versions of the message are sent.
24
25 If this does not suit your needs, you can hook up your own custom
26 mechanism by overriding the ``send_mail`` method of the account adapter
27 (``allauth.account.adapter.DefaultAccountAdapter``).