This project is read-only.

Still can't figure out GMail IMAP Settings

Aug 20, 2013 at 6:48 PM
I've seen these posts:

However, they don't seem to have the right object model. Perhaps I'm not using the right "using" statements. Perhaps GMail has changed their structure. Either way, I have not been able to get authenticated using GMail. Can you please assist?

May 27, 2014 at 5:11 PM
for smtp
this.smtpClient = new SmtpClient();
this.smtpClient.Security = SecurityPolicies.Explicit;
this.smtpClient.Connect("", 465);
this.smtpClient.Authenticate(username, password, SaslMechanics.Plain);
for imap
this.imapClient = new ImapClient();
this.imapClient.Security = SecurityPolicies.Explicit;
this.imapClient.Connect("", 993);
this.imapClient.Authenticate(username, password, SaslMechanics.Plain);