How do we login in outlook?

last question regarding this one new System.Net.NetworkCredential(string.Empty, password).Password

is the variable inside param the username and password from orchestrator(Give the Asset Name and declare variables for UserName and Password) ?

#something like this ?
new System.Net.NetworkCredential(username, password).Password

There is some confusion here… Outlook activity will use the Outlook that is installed in the robot machine, and that must already have the user setup on it…

2 Likes

I already have set up my orchestrator . In the asset I create one asset in the orchestrator which contains the username and password which is

@Srini84 can you answer this question Sir ? or clarifications thanks.
>
>
> last question regarding this one new System.Net.NetworkCredential(string.Empty, password).Password
>
> is the variable inside param the username and password from orchestrator(Give the Asset Name and declare variables for UserName and Password) ?
>
> #something like this ?
> new System.Net.NetworkCredential(username, password).Password

@RajivKumar12

Try as below

Hope this helps you

Thanks

Please send the file xml , Thank you.

@RajivKumar12

I reliased now Get Outlook don’t need the password, username except the Account

I thought of IMAP

Sorry for the confusion

Thanks

Does the get credentials automatically validates username ? that the only thing I need to put on StrPass is jut the password and then put StrPass on Get Outlook Mail Messages Input Account

Oh I see , so whats the correct implementation now SIr ?

As @bcorrea said the credentials will be used though APP only all we can do is provide the account name that we can use with assets not the authentication

Thanks

Where do I get the account Name ? can you please provide an example . Thanks

@RajivKumar12

Correct implementation is Get Outlook Message activity and just provide the account name

This account name you can create a Text type asset and you can provide the variable

remaining authentication can be took from Outlook APP

Hope this clear you

Thanks

Its not clear though. Cause I want to use the email credentials I stored on the orchestrator asset. How do I connect those credentials from orchestrator asset on my Get Outlook Mail Message.

The type of asset on my orchestrator is credential

@RajivKumar12

Then you have to use Get IMAP Mail Messages activity instead of Get Outlook Mail Message

Check below configuration for Outlook

https://www.techhit.com/how-to/configure-outlook-to-use-IMAP-with-outlook.com-account/

then you can use the as you required

Hope this helps you

Thanks

1 Like

I know how to use I map Sir , but my question is how to connect orchestrator username and password to IMAP ?

1 Like

what I mean is this one

@RajivKumar12

For IMAP on Gmail, you can refer below post
Tutorial : How to Configure Gmail for Email Automation - #2 by hatakora

You can follow MyChannel

Thanks

No Sir , I need IMAP using outlook and using orchestrator asset

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.