Hello bats, on Thu, 04. Mar 2004 at 10:46:39 +0100 Carsten Thönges wrote:
>> Thanks for your answer, but are you sure that you tested it with a >> Sorting Filter (and not "plain" QT)? > Hm, no, sorry :-) So this is a bug, right? >> text = '''%TEXT''' [...] >> if not search(r'(\n\n)', text): >> text = text + '\n\n' + 'Non-text-portions stripped..' > For tasks like that you might want to take a look at Python's email > module. Thanks for the hint, but as there is no way to get the full message source anyway (without exporting to an external file), this is far enough for me that way. The only feature I could get out of this, would be to really strip non-text MIME parts. -- shinE! http://www.thequod.de ICQ#152282665 GnuPG/PGP key: http://thequod.de/danielhahler.asc Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1 with POPFile 0.20.1 and avast Mar2004 (4.1.357). ________________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html