from django.core.mail import EmailMessage
and I have the following code
msg = EmailMessage ( subject = subject,
body = body,
from_email = sender,
to = receivers,
bcc = bcc
)
try:
print "Mailing"
err = msg.send( fail_silently = False )
except Exception, e:
err = "Email Send Error " + str(e)
print err
else:
print "Mailed"
I am mailing a bunch of messages and every once in a while it hangs on
the send. I never know when, and it only happens with windows.
Any one else have this problem?
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment