-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hmmm, that's kind of different issue then.
I can guess, from the error you pasted earlier, that the problem shown is due to the fact Python is interpreting a "<" as an expression and not as a char. review your code or try to figure out the exact input you're receving within the mta. Regards, Jesus (Neurogeek) Sakcee wrote: > thanks for the reply > > well probabbly I should explain more. this is part of an email . after > the mta delivers the email, it is stored in a local dir. > After that the email is being parsed by the parser inside an web based > imap client at display time. > > I dont think I have the choice of rewriting the message!? and I dont > want to reject the message alltogether. > > I can either 1-fix the incoming html by tidying it up > or 2- strip only plain text out and dispaly that you have spam, 3 - or > ignore that mal-formatted tag and display the rest > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD+n5gdIssYB9vBoMRAvIHAJ9H+IQWtaEMa9FBYFvDAQXcIO2SRwCfX3yj BEvNJ6yWht1b+dBc6ohkwYI= =X1JL -----END PGP SIGNATURE----- -- http://mail.python.org/mailman/listinfo/python-list