Get IMAP Mail Messages: Application-specific password required, sender id's

Hi all,

Getting error in imap mail message. Need to retrieve the sender mail id’s from gmail but not able to do.
How to resolve this issue. Please help me on this…

Hi @lakshmi.mp

Can you please explain what error you are facing?

Regards

which error you are getting? could you please share the screenshot with me?

@Vinit_Mhatre @vrdabberu


Please look into the attached screenshot.

Hi @lakshmi.mp

Please check the credentials that you are using for the IMAP application.

Please check the below threads for better understanding.

Or

Regards

Hi @lakshmi.mp ,

Kindly check this thread, i hope it will solve your issue

Send SMTP Mail Message, Message: 534: 5.7.9 Application-specific password required - Help / Activities - UiPath Community Forum

Regards,
Vinit Mhatre

@lakshmi.mp

Drag and drop the “Get IMAP Mail Messages” activity onto your workflow.
Configure the properties of the activity:
MailFolder:** “INBOX” (or the folder you want to retrieve emails from)
Port:** 993
Server:** “imap.gmail.com
UseSSL:** True
Username:** Your Gmail email address
Password:** Your Gmail password or an App Password if you have 2-factor authentication enabled.

Use a “For Each” activity to iterate through the list of mail messages obtained from the “Get IMAP Mail Messages” activity.

@Dilli_Reddy ,
Get IMAP Mail Messages: Application-specific password required: Sign in with app passwords - Google Account Help (Failure)
Same error getting. What to do.

Hi @lakshmi.mp

Link : https://myaccount.google.com/apppasswords?

Use this link sign in your account then create the 16 digits password

image

Enter the password here double quotes like “qwqe wadw wdwd wdwd” :point_down:

Regards
Gowtham.K

1 Like

@Gowtham_krishnan ,
Thanks for helping in resolving the issue.
Able to get the mail id’s
How to write the extracted data to excel file

Hi @lakshmi.mp

Do you mean the subject or the body of the email extracted data? Please clarify what you want exactly

@Gowtham_krishnan extracted the sender mail id’s, those mail id’s needs to be stored into excel file.

currentItem.From.Address

It is stored in str_sender variable. How to do this…

@lakshmi.mp

Can you try like this

1 Like

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