0 votes
by (120 points)


iam using Rebex.net.dll but it is giving an error at imap.connect() method

Imap imap = new Imap();
         imap.Connect("imap.gmail.com",993);// here i am getting time out excedded error..
        imap.Login("yeleti.moss2007@gmail.com", "***", ImapAuthentication.Auto);

Please tell me why iam getting this error.....

Applies to: Rebex Secure Mail

1 Answer

+1 vote
by (1.0k points)

Gmail's IMAP server uses implicit SSL, which means that ImapSecurity.Implicit needs to be specified when calling the Imap object's Connect method.

Please have a look at How to connect to gmail using IMAP for more information and sample code.