Z
Z
zkweb2016-02-24 14:13:25
Django
zkweb, 2016-02-24 14:13:25

Multiple Email Accounts in Django?

How do I connect multiple Accounts in Django settings
now I have this:

EMAIL_HOST = 'mail.***.ru'
EMAIL_HOST_USER = '[email protected]***.ru'
EMAIL_HOST_PASSWORD = 'pass'

How can I add another one and how can I link to it? i.e. add another HOST_USER: [email protected] and send mail from it in the models
Please help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-02-24
@zkweb

The Sending email section of the official documentation:
send_mail(subject, message, from_email , recipient_list, fail_silently=False, auth_user=None, auth_password=None, connection=None, html_message=None)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question