Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

outlook setting complex rule 1

Status
Not open for further replies.

Chrissirhc

Programmer
Joined
May 20, 2000
Messages
926
Location
GB
Hi I get standard emails sent to me. E.g and email will always have this string or set of words in it.

The magic number is: 5

"The magic number is:" bit is always the same, but the number itself changes. So... the email could have, for example,

The magic number is: 0

Now what I'd like to do is set up some rule (or equivalent) so that when this mail comes into my mail box, I can specifically ask for it to flag the message if a mail contains

The magic number is: (NOT)0

i.e The magic number is: 45 OR The magic number is: 10 .

So (repeating myself)I want to flag any email where the number is not 0.

There are many other parts in the email which have 0's etc, but what always stay the same is the "The magic number is: (number)"

What would be the easiest way to set this up?

Thanks in advance

Chris
 
Oh I forgot. I have to use Outlook.
 
Thanks,

I browsed through them. They don't seem to have definitive answer to my query. Would anyone else have any ideas?

Thanks

Chris
 
Try this:

Apply this rule after the message arives
with The magic number is: in the body
flag message for Follow up within 1 days
except if the body contains The magic number is: 0

Modify as you please.... *Remember.......
If you don't use your head,
your going to have to use your feet.
 
Excellent reply. Thanks I've adjusted and added some extra stuff to the rule.

I didn't realise there were except steps before, even though I've been through the wizard before.

Again thanks for your conciseness your quote even made me laugh.

Cheers

Chris
 
I wanted to update the rule...

except if the body contains The magic number is: 0 or The magic number is: 6 ...

Doesn't seem to work. I know I can copy the rule and just change the except rule (and then run one rule after the other), but I'd like to be able to have it in just one rule.

Can anyone help thanks.

Chris
 
The modified rule will appear like this:

Apply this rule after the message arives
with The magic number is: in the body
flag message for Follow up within 1 days
except if the body contains 'The magic number is: 0' or 'The magic number is: 6'

Go to the rules wizard, and modify the existing rule, then double-click the 'The magic number is: 0' area in the existing rule and a search text dialog box should appear.

Add your new text there. Good Luck.... *Remember.......
If you don't use your head,
your going to have to use your feet.
 
Hi,

Theses were the steps I took and it didn't work. I didn't put the or in explicitly myself but I saw it there when I added the second string i.e. 'The magic number is:6 '

thanks

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top