Re: How to connect to gmail with libetpan?

DINH Viêt Hoà <[email protected]> Tue, 8 Sep 2009 09:15:47 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
>> =A0=A0=A0 imap_mailstorage_init(storage,
>> =A0=A0=A0 =A0=A0=A0 "imap.gmail.com",
>> =A0=A0=A0 =A0=A0=A0 993,
>> =A0=A0=A0 =A0=A0=A0 NULL,
>> =A0=A0=A0 =A0=A0=A0 CONNECTION_TYPE_STARTTLS,
>> =A0=A0=A0 =A0=A0=A0 IMAP_AUTH_TYPE_PLAIN,
>> =A0=A0=A0 =A0=A0=A0 "[email protected]",
>> =A0=A0=A0 =A0=A0=A0 "xxxxxx",
>> =A0=A0=A0 =A0=A0=A0 1,
>> =A0=A0=A0 =A0=A0=A0 "/tmp"
>> =A0=A0=A0 =A0=A0=A0 );

For gmail, this has to be CONNECTION_TYPE_TLS

Best Regards,

-- =

DINH Vi=EAt Ho=E0

---------------------------------------------------------------------------=
---
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day =

trial. Simplify your report design, integration and deployment - and focus =
on =

what you do best, core application coding. Discover what's new with =

Crystal Reports now.  http://p.sf.net/sfu/bobj-july