I created a workflow where the bot will read emails from an outlook account. I am using Get Outlook Mail Message Activity and my configurations are as follows.
Initially I inserted my email address to input property Account (abc.bot@xyz.lk) and string value “Inbox” to input property MailFolder. Then it was throwing The specified folder does not exist error.
The solution was to remove the email address from the input property Account and leave the MailFolder as “Inbox”. This solved the issue. But I am wondering following scenario.
Lets assume I have two mail accounts configured in my Outlook App. Configuring Get Outlook Mail Message Activity as above is leading the bot to read only mails from Primary Account. Is there any way to make the bot to read mails from other accounts as well?
One possible solution might be changing the primary account to the account the bot will access. But I am curious to find whether there exist any other alternatives?
I tried inserting following value to MailFolder with reference to an answer provided in above UiForum link which also ended in same error.
MailFolder ----> abc.bot@xyz.lk\Inbox (abc.bot@xyz.lk is not the primary account)
If you provide the value in account , it will work but I don’t understand why it is not picking the mails for you. Can you try giving the value of your secondary mail again with some different folder name?
just found the source of the problem. Try this: Control Panel → Mail (32-bit) →
email tab. The “name” field of the email account is what you need to use in the “Send Outlook Mail” activity,
NOT necessarily your email address.
The issue was input property Account being case sensitive. For example if my account name is ABC.Bot@xyz.lk, it should not be provided like abc.bot@xyz.lk, ABC.BOT@XYZ.LK etc. The exact account name should be given.
Hi @srdjan.suc, it didn’t worked with my account name as well. For example account name could be something like ABC Bot for a email id of ABC.Bot@xyz.lk. Specifying it as ABC Bot also giving the same error. But however we can find the exact email account name by following your steps (Control Panel → Mail(32 bit)). Issue can be fixed by giving account value as exactly mentioned in the email tab (case sensitive).