Get Outlook Mail Messages: The specified folder does not exist

Hi,

Seeking assistance how to correct this error thrown. “Get Outlook Mail Messages: The specified folder does not exist”. I have configured my account email as (abc.xyz@email.com) and the mail folder as (Incoming Inbox) since I created one under the “main inbox” folder. Thank you

1 Like

Hi
if that is a subfolder is it mentioned like this
“Inbox\Subfoldername”

Cheers @julius.mapili

Hi,

I just did and still getting the same error

Fine
is the folder name correct kindly check once with the folder structure
@julius.mapili

Yes. I checked it and made sure its correct.

If you want i can show it you via zoom @Palaniyappan

hmm…no buddy
if any account property mentioned with value remove that and try once
Cheers @julius.mapili

alright it works… @Palaniyappan Thank you so much!

1 Like

Cheers @julius.mapili

it seems i encountered another error which is

image

the error is

If: Object reference not set to an instance of an object.

So, is the FOR EACH LOOP has variable named mail in it instead of item

@julius.mapili

yes, here it is

image

@julius.mapili

It will check for mail subjects which starts with LOA. May I know what error are you getting here ?

hi @lakshman… the error im getting is

If: Object reference not set to an instance of an object.

Im not sure why its showing this

@julius.mapili

Before that IF condition print the below value using Message Box and check it once.

       Mail.Subject.Tostring

im getting this error after i put message box

1 Like

@julius.mapili, check if in your For Each, the type is set to System.Net.Mail.Message.

Yes it was set to that Argument @Fer

if possible can i have a view on your xaml
@julius.mapili