cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CVoice
Helper I
Helper I

How to delete email if "TO" line matches?

Hello, I am trying to make a flow that will delete an email I receive if it has "disney@disney.com" in the TO line for example.

 

I get email forwarded to me from another account. I know if it has disney@ instead of contact@ or something else it will be a phising email and I just dont have any reason to view it.

 

So is there a way to delete it automatically.

 

Currently, I am assuming I need to

  1. click "when new email arrives" without webhooks
  2. folder is selected as "inbox
  3. click "New Step" 
  4. "Add an action"
  5. then click "delete email"

I have tried several different things but none of them worked so I am stuck at what I assusme is the following steps needed

I have tried to click delete email, but then I get lost after this. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @CVoice,

 

You could refer to screenshot below to create the flow:

Capture.PNG

 

Best regards,

Alice

View solution in original post

2 REPLIES 2
v-yuazh-msft
Community Support
Community Support

Hi @CVoice,

 

You could refer to screenshot below to create the flow:

Capture.PNG

 

Best regards,

Alice

View solution in original post

Dang, I didnt realize it takes a while to actually run. It took about a minute to run, I was thinking it happened almost instantly. Thank you

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,188)