Email filtering

In the if conditions while am subject contains will be picked but it will be getting error how to take that error

make sure that the for each loop has type argument as

and kindly type once again the if condition with the same expression once after changing the type argument
Cheers @Riyas_arlapadavu

It will be written correct but still getting error, am a beginner but still it will be done correct by looking videos

It will be done correctly

1 Like

Hi @Riyas_arlapadavu,

Take a screenshot of the for each loop if you’re using

no not here in the get outlook mail activity
Its about the FOR EACH loop activity where we need to change the type argument property to System.Net.Mail.Mailmessage

if that is changed this error will go
Cheers @Riyas_arlapadavu

Where that option will be getting

Try this way
use for each and change TypeArgument like Palaniyappan suggest


I am not getting what is the problem

Done with @Palaniyappan suggestions but still error

Am done but still error

Hey can you pass the XAML, for us to review ?

The screen shot you are providing is hard to read :cold_sweat:

I think you can read now @Shubham_Varshney

Can you pass the XAML file, kinda curious how it’s getting erred out :open_mouth:

Cause what you are calling is correct!!!

see this

Not working

Use System.Net.Mail.Mailmessage not List< System.Net.Mail.Mailmessage>
You should use or type Mailmessage in Browse for Types


1 Like


Finally error was gone but still execution is stopping automatically when it reaches imap form

It will be stopping here for wat reason plz tell