[Pymilter] Another bug to quash in email package

Stuart D. Gathman stuart at bmsi.com
Wed Apr 28 23:28:11 EDT 2004


On Wed, 28 Apr 2004, Stuart D. Gathman wrote:

> import sys
> import mime
> msg = mime.MimeMessage(sys.stdin)
> sys.stdout.write(msg.as_string())

Meant to say it fails the same way with unmodified 2.3 email package:

import sys
import email
msg = email.message_from_file(sys.stdin)
sys.stdout.write(msg.as_string())

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the Pymilter mailing list