• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 75
  • Last Modified:

How to move email to Deleted Items after checking text of email body

Hello, I would like to create a VBA in Outlook 2013 to move an email after reading the body of the email message with the following text:
_stopRequested= False
Files that don't exist: 0

Open in new window

Any thoughts ? Or better way to do this ?

Thanks for your help
0
namerg
Asked:
namerg
1 Solution
 
Rob HensonFinance AnalystCommented:
Don't need VBA, just use a Rule.
1
 
Sudeep SharmaTechnical DesignerCommented:
I agree with Rob, why would you need the VBA script to do the task which is very easily be achievable with a simple rule.

Sudeep
0
 
namergSystems AdministratorAuthor Commented:
Hmmm,  will check on that
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
Rob HensonFinance AnalystCommented:
Just been trying in Outlook and the rule specification will only allow one line of text.

Would one of those two lines always be there and only in those emails where it would apply for both lines?

Thanks
Rob
0
 
namergSystems AdministratorAuthor Commented:
Hello Rob, both lines will always be there. Thanks.
0
 
Bill PrewCommented:
So I think where Rob was going (apologies if I'm misstating) was that if both of those lines would always be there, could you trigger off just one of them in a rule?

Or is it only when they are both there, meaning that other messages could come in with one of the two lines, but not the other, and you would not want the rule to fire then.


»bp
0
 
Rob HensonFinance AnalystCommented:
Thanks Bill, that is exactly what I was asking.
0
 
namergSystems AdministratorAuthor Commented:
The rule did the job. Thank youuu
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now