This gets even more weird.

I copied the send_mass_mail() code from django.core.mail into my
module so I could orchestrate it.

I changed the DNS_NAME lookup to a hardcoded string and then got the
15s delay on the smtplib.SMTP(settings.EMAIL_HOST,
settings.EMAIL_PORT) line?!

So, perhaps the cache hit is working on subsequent tries, but only
slow the first time through. There still seems to be a problem on with
any of the bind operations, including SMTP().

Yet, it works fine from the command line or dev. I tried it on another
site I run and it's fine also. Just something weird about this one
configuration.

I'm sure this is not a django problem anymore ... any apache/mod-
python/network experts in the house?

-S


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to