View Single Post
Old 23 Aug 2017, 11:52 AM   #8
SideshowBob
Essential Contributor
 
Join Date: Jan 2017
Posts: 278
Quote:
Originally Posted by jhollington View Post
Code:
if address :is "From" "somewhere@somedomain.com" {
  fileinto :copy "INBOX.FirstFolder";
  fileinto "INBOX.Final-Destination";
}
You can have as many "fileinto" directives as you like to copy the message to multiple folders, just using ":copy" on all of them except for the last one, since you'll likely want the last operation to move the message rather than copying it (on the other hand, if you want the message left in your inbox, simply leave any final non-copy line off).
The point of :copy is that it prevents fileinto turning-off the "implicit keep". It doesn't do anything in the above example because the second fileinto doesn't have :copy.

"Implicit keep" means that an email goes to the Inbox (or alternate default folder) if no other action is defined.
SideshowBob is offline   Reply With Quote