+1 vote

You helped me with an issue I had before with your Mail.dll file, hopefully you can help me with this issue.

We use your Mail.dll on both Windows and Linux (under MONO). Under Windows, everything is fine. Under MONO, when we are setup to use Gmail, we cannot receive any messages. We can send ok, so I know the username/password are correct. When we attempt to get messages we get the error: (from the catch below)

"Authenticate as SSL client failed. You might be connecting to non SSL port".

Here is the code where it fails:

imap = New Imap
imap.ConnectSSL("imap.gmail.com", 993)

Hopefully there is a simple fix!

by

1 Answer

0 votes
 
Best answer

Remember to Import root certificates:

mozroots --import --sync

I think you also need to import intermediate certs:

certmgr -ssl smtps://smtp.gmail.com:465

You can find more info here:
http://www.mono-project.com/docs/faq/security/

by (297k points)
...