If you don't mind sharing your code here. cheers,
On Thu, Sep 23, 2021 at 4:17 PM Sujata Aghor <sujatas4ag...@gmail.com> wrote: > Hello Everyone, > I want to use different values of - EMAIL_HOST_USER & EMAIL_HOST_PASSWORD > for each of my users. I will take those values from database and not from > settings.py > > In django documentation I can see only a single paragraph about defining a > custom email backend, which is not giving me enough ideas. > > If I Try to change value of EMAIL_HOST_USER in script, it gives me below > error - > send_mail() got an unexpected keyword argument 'EMAIL_HOST_USER' > How to change these two values in a script? > Can anyone help here please. > > > -- > > Thanks & Regards! > Sujata S. Aghor > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAJCP8KC9Acj36VhnY1UqnpFtVb_xGLkZgmZJgPyugdhmH2QvOQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAJCP8KC9Acj36VhnY1UqnpFtVb_xGLkZgmZJgPyugdhmH2QvOQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCf-y7FU4Emm28oKcZD09gwA78kzPAzN56XbynNHMrUDBAvMA%40mail.gmail.com.