Answer the question
In order to leave comments, you need to log in
How to save attachments from mail by a given filter?
There is a mailbox (on gmail) and a Windows 2008 server.
Messages from different recipients with attachments come to the mail.
I would like to automatically save each attachment to a separate directory, depending on the sender's address.
Those. roughly speaking:
if (sender_mail = '*@domain1') save_attachment to ('.\domain_1_files')
else if (sender_mail ='*@domain2') save_attachment to ('.\domain_2_files')
... Shell script
solutions are welcome .
ps: similar question didn't help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question