Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread Karen Tracey
On Wed, Jan 28, 2009 at 3:21 PM, madhav wrote: > > Awesome Tracey. > > Almost all of my doubts regarding django emailing are gone. Except > One. Assuming I haven't set anything in the settings regarding > emailing. So NO EMAIL_HOST_USER, nothing else... I try sending the > email from the django s

Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread madhav
Awesome Tracey. Almost all of my doubts regarding django emailing are gone. Except One. Assuming I haven't set anything in the settings regarding emailing. So NO EMAIL_HOST_USER, nothing else... I try sending the email from the django shell(python manage.py shell) to somevalidu...@xyz.com, using

Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread Karen Tracey
On Wed, Jan 28, 2009 at 1:39 PM, madhav wrote: > > To add to my previous reply > Even EmailMessage class has got from_email attribute which means it > can have dynamic EmailMessage. > If it has to only pick settings.EMAIL_HOST_USER, why would it require > a atttribute called from_email? > EM

Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread Karen Tracey
On Wed, Jan 28, 2009 at 1:18 PM, madhav wrote: > > Thankyou Tracey, > You are right about settings.EMAIL_HOST_USER not getting overriden > from django.core.email. Even I checked it. > But the current behaviour is a bit confusing. Because, I can have a > default email id > for the entire applicati

Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread madhav
To add to my previous reply Even EmailMessage class has got from_email attribute which means it can have dynamic EmailMessage. If it has to only pick settings.EMAIL_HOST_USER, why would it require a atttribute called from_email? On Jan 28, 11:18 pm, madhav wrote: > Thankyou Tracey, > You are

Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread madhav
Thankyou Tracey, You are right about settings.EMAIL_HOST_USER not getting overriden from django.core.email. Even I checked it. But the current behaviour is a bit confusing. Because, I can have a default email id for the entire application(like sys...@mysite.com or do-not- re...@mysite.com) which w

Re: settings.EMAIL_HOST_USER problem

2009-01-28 Thread Karen Tracey
On Wed, Jan 28, 2009 at 12:20 PM, madhav wrote: > > I need some help regarding django emailing. I have set the > settings.EMAIL_HOST_USER to 'do-not-re...@mysite.com' and whenever I > am trying to send an email in any context, its taking the 'do-not- > re...@mysite.com' as from address and sendin

settings.EMAIL_HOST_USER problem

2009-01-28 Thread madhav
I need some help regarding django emailing. I have set the settings.EMAIL_HOST_USER to 'do-not-re...@mysite.com' and whenever I am trying to send an email in any context, its taking the 'do-not- re...@mysite.com' as from address and sending it, eventhough I supply a different from-address while se