BTW, I noticed a bunch of new line characters in your test message.
If you ever send mail to a qmail server it will be rejected because rfc 821 says that new line characters cannot occur without a carriage return. So change all those \n's to \r\n's ;) -- We are all slave to our own paradigm. -- Joshua Williams
-- http://mail.python.org/mailman/listinfo/python-list