On Sun, 2009-05-10 at 13:54 +0100, Dougal Matthews wrote:
> Thanks Will,
> Found it
> here; 
> http://code.djangoproject.com/browser/django/trunk/django/test/utils.py#L50
> 
> 
> That does look about what I am hoping to do, not so sure about monkey
> patching the core though.
> 
> 
> Basically, assuming django's send_mail is the standard most apps use,

That isn't a safe assumption. Although send_mail() exists, anybody doing
anything at all advanced will be instantiating the EmailMessage class
and possibly SMTPConnection themselves. You, as an application user, get
to configure the settings variables. You don't get to replace the basic
mailing behaviour for other applications.

Regards,
Malcolm




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to