Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed bug in [4058], in django/core/mail.py. Thanks, Igor Goryachev

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 83c40fb92230c6c8d6977ad5fc05eb7ac5faba6b 1 parent 5d8c6cf
Adrian Holovaty authored November 10, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/mail.py
2  django/core/mail.py
@@ -59,7 +59,7 @@ def send_mass_mail(datatuple, fail_silently=False, auth_user=settings.EMAIL_HOST
59 59
             random_bits = str(random.getrandbits(64))
60 60
         except AttributeError: # Python 2.3 doesn't have random.getrandbits().
61 61
             random_bits = ''.join([random.choice('1234567890') for i in range(19)])
62  
-        msg['Message-ID'] = "<%d.%d@%s>" % (time.time(), random_bits, DNS_NAME)
  62
+        msg['Message-ID'] = "<%d.%s@%s>" % (time.time(), random_bits, DNS_NAME)
63 63
         try:
64 64
             server.sendmail(from_email, recipient_list, msg.as_string())
65 65
             num_sent += 1

0 notes on commit 83c40fb

Please sign in to comment.
Something went wrong with that request. Please try again.