Problem with exchange mail server

2005-11-28 Thread Vinayakc
hon could not parse this mail header. Because first line is 'Microsoft exchange mail server version 2.0'. If I remove this line, it works. Could not understand this. Please help. Thanks and Regards Vinayakc -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with exchange mail server

2005-12-19 Thread Vinayakc
eader and then I passed this header string to email.message_from_string() function. Rest all is same. It works fine now. Thank you very much for your reply. Thanks and Regards Vinayakc -- http://mail.python.org/mailman/listinfo/python-list

Encode exception for chinese text

2006-05-19 Thread Vinayakc
") The type of str_data is The exception is: "UnicodeEncodeError: 'gb2312' codec can't encode character u'\xa0' in position 0: illegal multibyte sequence" Can anyone please give me direction to solve this isssue. Regards, Vinayakc -- http://mail.python.org/mailman/listinfo/python-list

Re: Encode exception for chinese text

2006-05-19 Thread Vinayakc
Yes serge, I have removed the first character but it is still giving encoding exception. -- http://mail.python.org/mailman/listinfo/python-list

Re: Encode exception for chinese text

2006-05-19 Thread Vinayakc
Hey Serge, john, Thank you very much. I was really not aware of these facts. Anyways this is happening only for one in millions so I can ignore this for now. Thanks again, Vinayakc -- http://mail.python.org/mailman/listinfo/python-list