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
namergSystems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob HensonFinance AnalystCommented:
Don't need VBA, just use a Rule.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.