Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Imap connection : 003 BAD Protocol Error: Invalid string supplied for password

$
0
0

Hi,

I try to connect to an email server by using the IMAP protocol.

With the following code, the Connect method throw the exception "003 BAD Protocol Error: Invalid string supplied for password"

ImapClient client = new ImapClient();
client.Host = this.emailServer;
client.Username = this.user;
client.Password = this.password;
client.Port = this.serverPort;               
client.Connect(true);ImapClient client = new ImapClient();

The password contains letters, numbers and an *

Should I encode the password ?

Do you have any idea of what is wrong. I did the same this another component and it works.

Thank you for your help.

Regards

 

 

 

 

 


Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images