Get mails from mailbox

The email box is defined as robot4@ and has access to the emails of the saglik@ department. Therefore, I want to retrieve the emails from**saglik@ department using robot4@ credentials in UiPath.

Urgent :slight_smile:

@sedayngl_sedayngl33

Can you give more details

what is robot4@, saglik@

Hi @sedayngl_sedayngl33

What are you using for the Mails ? (Gmail, Outlook…)

robot4@test.com.tr, saglik@test2.com.tr .
I am using smtp mail activitiy i have robot4@test.com.tr credentials i want to get mails saglik@test2.com.tr.

i using get imap mails

Using the SMTP Mail Activity in UiPath only allows you to send emails, not retrieve them.

Hi,
Yes u are right soory, ı try to say ı want to retrieve mails how can ı do this?

If you have shared mail access to saglik@department then :
using “Get Outlook Mail Messages”:

  • Ensure the shared mailbox (saglik@department) is added to the Outlook profile for robot4@.

  • In the Account property of the activity, you can specify the shared mailbox name as saglik@ to retrieve emails directly from it.

  • Account [Input]: Enter the Display Name of the Shared Mailbox (as it appears in the Folder Pane.) For Example, “Shared Mailbox”, “Invoice Shared Mailbox”, “Company Y Email”, etc…
    Alternatively, you can get the display name by right-clicking on the shared mailbox, selecting “Data File Properties…”, and the name is at the top, right underneath the “General” Tab.

  • MailFolder [Input]: Enter the Folder Path of the folder from the mail messages are to be retrieved. For Example, “Inbox\Subfolder Name 1\Subfolder Name 2”, “Inbox\Invoices”, etc…

Hi @sedayngl_sedayngl33

Pls try this ; might be helpful.

Use the Get IMAP Mail Messages activity in UiPath with the IMAP server (e.g. - imap.yourmailserver.com), port 993 , and set SecureConnection to True. Authenticate with the robot4@test.com.tr email and its password, then set the Mailbox to INBOX to fetch emails from the saglik@test2.com.tr inbox. Ensure that robot4@test.com.tr has access to saglik@test2.com.tr.

can u send screen shoot please?

@sedayngl_sedayngl33

You might have to enable few settings in your account for this to happen.
Maybe this link could be of help-