Mailman.Handlers.Sendmail: no msg.body

Bug #265603 reported by Jasonrm
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Barry Warsaw

Bug Description

When using DELIVERY_MODULE = 'Sendmail',
we get an uncaught runner exception:
"Message instance has no attribute 'body'"

Traceback and patch attached.

NOTE: I'm still getting used to the email module,
so the patch may be incorrect.

[http://sourceforge.net/tracker/index.php?func=detail&aid=511020&group_id=103&atid=100103]

Revision history for this message
Jasonrm (jasonrm) wrote : Sendmail.py.tb

Other attachments

Revision history for this message
Barry Warsaw (barry) wrote :

Yup, because Sendmail.py is strongly discouraged due to
security issues, I haven't kept it up-to-date w.r.t. changes
in the email package. I think the attached patch is better.

It is untested, could you test it out and see if it works
for you? If so, I'll commit it.

Revision history for this message
Barry Warsaw (barry) wrote :

Closing because I've already committed the changes. Please
test cvs out and let me know if there are any additional
problems. Because Sendmail.py is highly discouraged, I
don't intend to test it myself.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.