I’m encountering an issue with connecting to my IMAP server. Despite having set the IMAP configuration, server, port, and other settings correctly, I keep receiving the error message: “Get IMAP Mail Messages: Invalid credentials ( failure ).”
I’ve double-checked my credentials (username and password) and verified the server settings. I’m still getting the same error.
Has anyone else encountered this issue or can offer guidance on how to resolve it? Any help would be greatly appreciated!
Have you configured the IMAP for your Mail Account. If not, configure the IMAP. Follow the below document,
After configured also not works, Update all the UiPath.Mail.activities package to latest version and keep the Lowest applicable version for the RunTimerule option in Manage packages.
Not works the above approaches, check the below thread,
Two-Factor Authentication (2FA): If your email account has two-factor authentication enabled, you’ll need to create an app-specific password for UiPath to use. Refer to your email provider’s documentation on how to generate an app-specific password.
Account Access Settings: Ensure that your email account settings allow access from less secure apps or IMAP access. Some providers (like Gmail) have settings to allow or block access from non-Google apps.
Check IMAP Settings: Ensure that the IMAP settings (server, port, and security type) are correctly configured. Common configurations are:
Gmail:
IMAP server: imap.gmail.com
Port: 993
Security type: SSL/TLS
Outlook/Office 365:
IMAP server: outlook.office365.com
Port: 993
Security type: SSL/TLS
Yahoo:
IMAP server: imap.mail.yahoo.com
Port: 993
Security type: SSL/TLS
Update UiPath Packages: Make sure that your UiPath.Mail.Activities package is up-to-date. There might be fixes or improvements in newer versions that could resolve your issue.
Network Restrictions: Check if there are any network restrictions or firewall settings that might be blocking the connection to the IMAP server.
Log and Debug: Use logging and debugging within UiPath to capture more detailed information about the error. This might give you more insights into what is going wrong.
Thank you for your assistance. I have confirmed that IMAP is enabled and that UiPath.Mail.activities are updated. I have also double-checked the username and password.
However, I am encountering a problem: I am unable to locate the “Allow Secure apps” option in Gmail.
Could you please guide me on how to find this setting or suggest any alternative solutions?