That's a message returned by your Mail Transport Agent. Django has no control.
Either adjust the settings in your MTA or adjust your mail-send to send in batches. And, given that it sounds like you're sending to tens of thousands of users, please make sure those users are in the "Bcc" rather than "To" or "Cc". Or you're going to get some pretty irate recipients. On Tuesday, December 4, 2012 3:43:03 PM UTC-8, Mark Webster wrote: > > While testing out a Django application which uses django's core mail > 'send_mail' the following occurs while sending a message to a large number > of email recipients. > > > (552, '5.6.0 Headers too large (32768 max)') > > is there a configuration setting on the django send_mail side which will > resolve this? > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/8fvbFoO-HHIJ. 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.