[quote user="dilberts_left_nut"]
What about using the filtering rules to identify mails to correct users, identify correct attachments, and extract said attachments to a folder (maybe network folder on a machine with .pdf & .doc readers installed if you don't want to encumber your mail server with such).
Then have a resident process or scheduled task (on the network machine not the server) to run a batchfile that polls the folder for new files and prints them as desired.
[/quote]
Ah, good idea! That should work well. If the applications for printing the formats are installed on the same machine, even without using a scheduled task by using a ruleset like:
---
If header "T" contains "user@yourdomain" LogicalAnd ""
If attachment ExtnPart contains "pdf" Goto "pdf"
If header "T" contains "user@yourdomain" LogicalAnd ""
If attachment ExtnPart contains "doc" Goto "doc"
Label "pdf"
If attachment ExtnPart contains "pdf" SaveAttmt "c:\\mercury\\to_print\\temp.pdf"
Always Run "command-to-print-temp.pdf"
Always Exit ""
Label "doc"
If attachment ExtnPart contains "doc" SaveAttmt "c:\\mercury\\to_print\\temp.doc"
Always Run "command-to-print-temp.doc"
Always Exit ""
---
Best regards
Nico
[quote user="dilberts_left_nut"]<P>What about using the filtering rules to identify mails to correct users, identify correct attachments, and extract said attachments to a folder (maybe network folder on a machine with .pdf &amp; .doc readers installed if you don't want to encumber your mail server with such).</P>
Then have a resident process or scheduled task (on the network machine not the server) to run a batchfile that polls the folder for new files and prints them as desired.
[/quote]
Ah, good idea! That should work well. If the applications for printing the formats are installed on the same machine, even without using a scheduled task by using a ruleset like:
---
If header "T" contains "user@yourdomain" LogicalAnd ""
If attachment ExtnPart contains "pdf" Goto "pdf"
If header "T" contains "user@yourdomain" LogicalAnd ""
If attachment ExtnPart contains "doc" Goto "doc"
Label "pdf"
If attachment ExtnPart contains "pdf" SaveAttmt "c:\\mercury\\to_print\\temp.pdf"
Always Run "command-to-print-temp.pdf"
Always Exit ""
Label "doc"
If attachment ExtnPart contains "doc" SaveAttmt "c:\\mercury\\to_print\\temp.doc"
Always Run "command-to-print-temp.doc"
Always Exit ""
---
Best regards
Nico