On Jun 10, 1:22 pm, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > hi, > > [django trunk rev 10413] > > I am having a problem with password_reset. I get the message saying that a > mail has been sent, but I do not receive the mail. A check with my mail log > shows the mail is being sent from 'webmas...@localhost' and being rejected as > that is an unknown username to my mail server. I have set EMAIL_USER as > 'webmas...@mydomain.com' in my settings and would expect the 'from' address to > be that one. When I look at django.contrib.auth.forms, I find this line: > > send_mail(_("Password reset on %s") % site_name, > t.render(Context(c)), None, [user.email]) > > this shows the 'from' user as 'None', so where is it picking up the > 'webmas...@localhost' from? Is this a bug (unlikely) or am I missing > something? > -- > regards > kghttp://lawgon.livejournal.com
Have you tried setting DEFAULT_FROM_EMAIL? -- DR. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---