@Yurdanur_Yusuf I think You are providing wrong password or wrong method.
@Yurdanur_Yusuf If you have password in secure String, please convert it through this expression,
new System.Net.NetworkCredential(string.Empty, secureStr).Password
how can I do it
if you have turned on two step verification then follow the steps for IMAP
- port number 993
- server: imap.gmail.com
- your mailID and for password click on your account profile—>manage your google account—>security–>select app password and generate your password then use that in password property
@Yurdanur_Yusuf
If you have password in secure String ->suppose you have Variable “UsrPassword”
then put this expression in
new System.Net.NetworkCredential(string.Empty, UsrPassword).Password
thank you
I did
@Yurdanur_Yusuf are you still facing issue?
no, it’s done
@Yurdanur_Yusuf please mark solution and close thread so others can get help from it.
@Yurdanur_Yusuf
please mark like this.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.