Mailkit.Security.AuthenticationException on using IMAP

I’m new to UiPath. I’m trying to use Get IMAP Mail Messages and I’m getting an error saying ‘Invalid Credentials (Failure)’

2 Likes

Fine
can i have a view on the Get IMAP mail activity properties buddy if possible
Cheers @sreya_patranabish

1 Like

Hi @sreya_patranabish,

Hope you can resolve by yourself after once you gone though the below link.

Thanks and Regards,
Baisil Geevarghese.

1 Like

@baisilgee I’ve already tried it. IMAP and POP3 are already enabled.

Screenshot pls @sreya_patranabish

@Palaniyappan it has my account credentials on it. I can’t post it for security reasons.

1 Like

https://1drv.ms/u/s!Ap-81zWJpdD9ggN0On2jTGnJeAJi

1 Like

Make sure that you have mentioned the username and password within double quotes as a string…Kindly check with that buddy
Cheers @sreya_patranabish

I have done that already @Palaniyappan

@Palaniyappan I think my port 993 SSL is not enabled and I’m not able to enable it. I think that’s why it’s giving me error.

1 Like

Fine i was about to type…try with port number 465
Cheers @sreya_patranabish

1 Like

now there is a new issue altogether

1 Like

1 Like

Fine this port 143
Cheers @sreya_patranabish

1 Like

I’ve already tried it. Same issue.

1 Like

No Worries…so with 465 its working but getting error like invalid credentials,
with 993 getting error like The IMAP server has unexpectedly disconnected
with 143, may i know what is the error
Cheers @sreya_patranabish

No, with 465 it’s showing disconnected and with 993 invalid credentials. With 143 it’s showing disconnected like in 465

1 Like

Great 993 works fine…
we need to check the way the your credentials is entered…can you message me with the screenshot of your property with credentials,we need that buddy, only then we can identify the error, or
is there any special characters in your email id and password…kindly provide a sample atleast
Cheers @sreya_patranabish

Fine i hope you must have entered the variables in email and password property of get IMAP mail messages activity as “email” and “password” , between quotes
as they are variable we need to pass just the name of the variable buddy, without quotes
like
email
password

Kindly try this and let know buddy
Cheers @sreya_patranabish

1 Like