by Tomas » Sat Apr 11, 2009 11:12 am
I think it might have been discussed here in the past.
Filters don't have an action to save attachmentt. Scripts have a way of deleting attachments, but not a way of saving them.
So far I could only think of this way:
- set Pocomail to "Extract attachments from incoming email" by default
then you could use following script command:
ReadAttached $a %m
Reads the list of attached files in the message %m, and places their filenames with full path into $a. Each file is placed onto a separate line in $a. This command works by scanning the end of the message for string
You could write a script that will get a list of attached files extracted to the Attach directory, it will than either copy them to the folder you wish, or it will move them and subsequently will also change the header line that says where the attachment is stored.
Tomas