Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 09, 2011 at 12:05 AM +0100, Eric Smith wrote: But this will not match if the mail is From: foo and To: bar, baz You'll just need to add a couple more hooks to catch all the cases. It's really all explained in the manual. fcc-save-hook '~f foo ~C bar ~C baz' project_folder fcc

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Eric Smith
Yes Tim But this will not match if the mail is From: foo and To: bar, baz -- - Eric Smith Tim Gray said: > On Dec 08, 2011 at 10:39 PM +0100, Eric Smith wrote: > >So if it is a mail from one of three names and the other two names are > >in ~C (To: or Cc:), then it is a match. > >What is the smar

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 08, 2011 at 08:15 AM -0500, Tim Gray wrote: On Dec 08, 2011 at 12:08 PM +0100, Eric Smith wrote: Thanks Tim but the condition is AND not OR. All three addresses need to be present in random order in the To: or Oops. Just take that the |'s then. If you just place several search modifi

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 08, 2011 at 10:39 PM +0100, Eric Smith wrote: So if it is a mail from one of three names and the other two names are in ~C (To: or Cc:), then it is a match. What is the smartest way to specify this logic with an fcc-save-hook? If I understand correctly, the following should do it. It's

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Eric Smith
Tim Gray said: > On Dec 08, 2011 at 12:08 PM +0100, Eric Smith wrote: > >Thanks Tim but the condition is AND not OR. > >All three addresses need to be present in random order in the To: or > > Oops. Just take that the |'s then. If you just place several > search modifiers together, a logical AN

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Tim Gray
On Dec 08, 2011 at 12:08 PM +0100, Eric Smith wrote: Thanks Tim but the condition is AND not OR. All three addresses need to be present in random order in the To: or Oops. Just take that the |'s then. If you just place several search modifiers together, a logical AND is assumed.

Re: fcc-save-hook for multiple recipients

2011-12-08 Thread Eric Smith
Thanks Tim but the condition is AND not OR. All three addresses need to be present in random order in the To: or Cc: fo the rule to apply. -- - Eric Smith Tim Gray said: > On Dec 05, 2011 at 10:23 PM +0100, Eric Smith wrote: > >If a sent or received mail has a certain list of email addresses in

Re: fcc-save-hook for multiple recipients

2011-12-05 Thread Tim Gray
On Dec 05, 2011 at 10:23 PM +0100, Eric Smith wrote: If a sent or received mail has a certain list of email addresses in the To: and Cc:, then I want to automatically save to a specific folder. Well, you can either string together a bunch of criteria with 'ors' and use the ~C pattern: fc

fcc-save-hook for multiple recipients

2011-12-05 Thread Eric Smith
If a sent or received mail has a certain list of email addresses in the To: and Cc:, then I want to automatically save to a specific folder. How would I implement this? -- - Eric Smith