views:

664

answers:

3

i'm currently trying to add to a software the capability to list unread emails in the user's inbox using imap. After having no success at all using indy10, I discovered synapse which seemed better for what I needed, but I can't find a way to get it working.

My problem is with the login (thus I think with the ssl configuration), I can't find a working combination of "FullSSL", "Sock.SSL.SSLType" and "AutoTLS", whetever I do the "Login()" function fails.

For the sake of testing, is any of you able to connect to gmail's imap server using synapse, and if yes how ?

A: 

Having just done this myself, I might recommend that you just follow the simple example on the Synapse HowTo http://www.synapse.ararat.cz/doku.php/public%3Ahowto

The only other thing would be that you need to download the openssl dll's and place the in your project folder.

IMHO .... I would recommend that you also consider looking at CleverComponents.com at their IMAP4 with built in SSL (not requiring OpenSSL, which has some licensing restrictions) and is completely NON-Blocking sockets.

mrw
you mean the pop3 sample ? I tried to convert it to imap by simply replacing the component name and the unit used, but either that didn't work or the ssl options at start are wrong for gmail - but I can't find a combination that work !Can your software connect to a gmail account ?
azera
There is a pop3 example WITH SSL listed on that page. It works with gmail. Note the USE line at the top includes the namespace forssl_openssl. All you should need to do is place the 2 openssl dll files into your project folder and go. Do not get discouraged. Synapse and openssl works good with gmail.
mrw
A: 

I suggest Mailbee IMAP ActiveX from AfterLogic. I did the research when developing Gmail Keeper (a Gmail backup software), CleverComponnets' feature set seems good but their support is very badm they seem discontinued that promising component set, you can try to email them back and forth to see if there is anything changed since it's been a long time since I checked them last time, I indeed wish they continue their VCL.

On the other hand, afterlogic's support is really good, especially when the reasonable price is considered.

One-click to backup Gmail with labels to local disk (supports backup scheduling) http://GmailKeeper.com

Edwin
A: 

You need this librarys:

libeay32.dll ssleay32.dll

Film