You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When queue_email_message gets an EmailMessage with a long subject line (more than 255 chars) it tries to put all of it into Message.subject but since it has a maximum length of 255, PostgreSQL refuses to write this record.
When creating the Message you should take email_message.subject[:255] to prevent this.
The text was updated successfully, but these errors were encountered:
mjtorn
pushed a commit
to mjtorn/django-mailer-2
that referenced
this issue
Nov 17, 2014
When
queue_email_message
gets anEmailMessage
with a long subject line (more than 255 chars) it tries to put all of it intoMessage.subject
but since it has a maximum length of 255, PostgreSQL refuses to write this record.When creating the
Message
you should takeemail_message.subject[:255]
to prevent this.The text was updated successfully, but these errors were encountered: