I would suggest the following *relatively* simple method.
1. Detect incoming mail that meets the triggering requirement (subject/from/body-content) via a NewMail rule.
2. Forward the message to a noticeboard via a second Newmail rule, with same trigger requirement. This step is needed to create a discrete file.
This creates a message file with filetype *.cnb.
3. A third rule, with same trigger requirement, to delete the message from NewMail.
4. Run a program to detect this new message (type) and rewrite the message suitably fixed up.
5. move (not copy) the message back to the NewMail directory.
Martin
<p>I would suggest the following *relatively* simple method.</p><p>&nbsp;</p><p>1. Detect incoming mail that meets the triggering requirement (subject/from/body-content) via a NewMail rule.
</p><p>2. Forward the message to a noticeboard via a second Newmail rule, with same trigger requirement. This step is needed to create a discrete file.</p><p>&nbsp;&nbsp; This creates a message file with filetype *.cnb. </p><p>
3. A third rule, with same trigger requirement, to delete the message from NewMail.&nbsp;&nbsp;
</p><p>4. Run a program to detect this new message (type) and rewrite the message suitably fixed up.</p><p>5. move (not copy) the message back to the NewMail directory.&nbsp;</p><p>&nbsp;</p><p>Martin&nbsp;</p>