Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 19 by carl.j.meyer: send_mail should truncate subject to 100  
characters
http://code.google.com/p/django-mailer/issues/detail?id=19

What steps will reproduce the problem?
1. Use django-mailer with Postgres 8.3
2. Call send_mail with a subject string longer than 100 characters

What is the expected output? What do you see instead?

Leaving aside the question of whether 100 characters is too short a subject
field limit (I think it is), I would expect the subject line to be
truncated and the email still saved and sent.

Instead, Postgres raises a ProgrammingError and the message is dropped.

What version of the product are you using? On what operating system?

SVN revision 55.

Patch attached.


Attachments:
        issue19.diff  572 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to