I have the following problem: I get daily an e-mail from the same address, containing a pdf-file in the attachment. What I want to do with this e-mail is the following: 1) save the attached pdf to a folder on my hard-disk 2) delete the attachment in pegasus 3) move the remaining mail to a pre-defined folder in pegasus.
For this, I use filters. Steps 1 and 3 work perfectly. Unfortunately, step 2 (deleting the attachment in pegasus after it has been saved to the disk) does not work. I defined three filter-rules for new mail; this is how it looks in the WINRULES.PMC file (leaving away the other filter-rules that are not relevant here):
NoDisplay:New mail filtering rules
If attachment FullName matches "ABC*.pdf" SaveAttmt "[Folder on my hard-disk]" 1
If attachment FullName matches "ABC*.pdf" DeleteAttmt ""
If header "F" contains "[e-mail address of the sender]" Move "RYMM02NR:563F:FOL04989"
If I delete the first filter for step 1 (save to hard-disk), the attachment is deleted, but not so when filter-rule 1 exists.
I use the full german version of Pegasus 4.7 on a Windows 7 system.
PS: I am aware of the fact that attachments can be deleted only in the inbox-folder.
<p>I have the following problem: I get daily an e-mail from the same address, containing a pdf-file in the attachment. What I want to do with this e-mail is the following: 1) save the attached pdf to a folder on my hard-disk 2) delete the attachment in pegasus 3) move the remaining mail to a pre-defined folder in pegasus.
For this, I use filters. Steps 1 and 3 work perfectly. Unfortunately, step 2 (deleting the attachment in pegasus after it has been saved to the disk) does not work. I defined three filter-rules for new mail; this is how it looks in the WINRULES.PMC file (leaving away the other filter-rules that are not relevant here):
NoDisplay:New mail filtering rules
If attachment FullName matches "ABC*.pdf" SaveAttmt "[Folder on my hard-disk]" 1
If attachment FullName matches "ABC*.pdf" DeleteAttmt ""
If header "F" contains "[e-mail address of the sender]" Move "RYMM02NR:563F:FOL04989"
If I delete the first filter for step 1 (save to hard-disk), the attachment is deleted, but not so when filter-rule 1 exists.
I use the full german version of Pegasus 4.7 on a Windows 7 system.</p><p>PS: I am aware of the fact that attachments can be deleted only in the inbox-folder.
</p>