I am on the road today. Back tomorrow. In the meantime, could you please PM me the raw body of one of the emails? The raw message includes HTML codes. I think that PocoMail comes with a script called "Display Raw Message," but I'm not certain.

While the filters part works fine, the script ignores me javascript:emoticon('Embarassed')Embarassed...because I don't know, with what the script has to start and with what to finish it.

I confess that I completely misunderstood that. I got it now. You need not have posted the raw message. Sorry!

---

Anyway, do a ReadBody. Then TrimLines as a precaution. Cut individual lines of text as you have been doing, or, for brevity, cut individual lines and blocks of lines using SubStrings as illustrated below. Please note the end-of-line \n -- there are five of them. Do as many cuts as you wish. Note that one of the lines that begins with SubStrings in the sample script is very long.

You also wanted to remove blank lines. There's no good way that I can think of, but you can try this:

I home again - and will be on the road tomorrow - so I won't be able to test what you have mailed me until thursday.

What I'm already now afraid of is to find out "in between what I have to place this" - the other time I called this something like "the stuff at the beginning" and "the stuff at the end".

Most of the time, when I dar change something in a script, Mr. Poco shows up telling me, that something has not been declared - and goes back to whatever.... That is why all my scripts are probably double as long as needed and take triple the time they ought to, because I make them do superfluous things for the task they are ment for. That is the best thing about Poco, apart its programmed capabilities, the scripts which are coming with it and are uncomplaining even when misstreated.

But the very best about Pocomail ist, of course, this forum with people like you or Eric, or Tomas and all the others, which help ignorants like me to show up with things the poor guys having to work with Outlook and the like don't dare to dream of.
GÃƒÂ¶tz

What I'm already now afraid of is to find out "in between what I have to place this" - the other time I called this something like "the stuff at the beginning" and "the stuff at the end".

Just to clarify: the latest script above is intended to be complete, with beginning, middle and end. You only need to supply your own SubStrings lines.

The script was tested with PocoMail 4.5. I'm hoping and assuming that PocoScript's string commands work consistently with all character sets, and that ReadBody will consistently render new-lines as the 2-character carriage return-line feed.