MarkB wrote:I'm sorry to make so many posts. Earlier I objected to deleting the Date header that Poco adds in the "second method" because doing so seemed more like hacking than script writing, but I've reconsidered. The following is a modification of the second script that gives the "sent" date (not the current date) in the printout and doesn't add any lines to the printout. Thank you for your patience.
CC header data is now included in case your print template makes room for it. This way the CC line won't end up misleadingly blank in the printout.
- Code: Select all
CreateMessage %m
ReadHeader $t "From:" %message
AddHeader %m "From:" $t
ReadHeader $t "Subject:" %message
AddHeader %m "Subject:" $t
ReadTo $t %message
AddTo %m $t
ReadCC $t %message
AddCC %m $t
DeleteHeader "Date:" %m
ReadHeader $t "Date:" %message
AddHeader %m "Date:" $t
Embed $t "EndEmbed"
--- BESTELLUNGSVERWALTUNG ---
geholt und ausgetragen:
----------------------------------------------------
Bestätigungs-Mail versandt:
----------------------------------------------------
Master / Visa Code bestellt:
----------------------------------------------------
Versandt:
------------------------------------------------------------------------------
EndEmbed
Set $body $t
ReadBody $t %message
AppendBody $body $t
AssignBody %m $body
PrintMessage %m
Hello MarkB,
sorry for letting you waiting for an answer. First I was away, then I had to cope with the work not done when I was away, then my computer crashed, then I had to get a new one - which has now Windows 7... What looks - at least up to now - to cause more problems then it solves (For the time being, I regret to have moved to window 7 since xp professional works very safe and does not look so trendy & stylish w7.
And many things seeme not to work - that is also so for Pocomail, like:
> There is no more information sent when I get an answer (e.g. from you) for a contribution of mine in the Pocomail forum
> the automated filter editing when a folder name gets changed does not reflect the changes
> In the email header I cannot write into the subject field
> and, most bizarre: till about 4 hours ago in the index the date field looked like 5/17/22010/16/51 PM and and mm and dd got often mixed up and then suddently and without any intervention of mine, went back to the standard 17.05.2010 16:51
Because of this and many more problems with other programs I was not yet able to look at the script above, and also not the one yoiu send before. I still use the first one which keeps the mails unchanged.
As soon as work works normal again, I'll check out about the script above
sincerely, ente