Getting error in IMAP?

0 votes
asked Nov 1, 2010 by janu (120 points)
edited Sep 26, 2011

Hi,

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
answered Nov 2, 2010 by Vit Zyka (1,000 points)
edited Nov 3, 2010

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.

...