Archived Forum Post

Index of archived forum posts

Question:

Problem connecting to pop.gmail.com

Jun 24 '16 at 05:53

Hi all,

I use the following code to fetch my mail from Gmail:

 mailman.MailHost := 'pop.gmail.com';
 mailman.PopUsername := '***';
 mailman.PopPassword := '***';
 mailman.PopSsl := 1;
 mailman.MailPort := 995;

 bundle := mailman.TransferMail();

 if (bundle = nil ) then
   begin
     ShowMessage(mailman.LastErrorText);
     Exit;
   end;

 for i := 0 to bundle.MessageCount - 1 do
   begin
     email := bundle.GetEmail(i);

But since of today that is not working anymore because of: http://googleappsupdates.blogspot.nl/2016/05/disabling-support-for-sslv3-and-rc4-for.html

alt text

How should I fix this?

Thanks.


Answer

I very much doubt this is the cause of the problem.

Even if you are using a very old version of Chilkat, that should've supported at least TLS 1.0. The latest version of Chilkat would by-default use TLS 1.2, and would certainly not try to use RC4.

Turn on verbose logging and check the contents of the mailman.LastErrorText.


Answer

Hi the version I get from ShowMessage( mailman.Version); is 6.0.0. Is that recent enough?

The result from mailman.LastErrorText is the screenprint in my first post.


Answer

And how to turn on verbose logging? I'm using chilkat with Delphi 2010.


Answer

That version is ancient...


Answer

Thanks for your quick answers.

Ancient, so to old to support TLS 1.0 or TLS 1.2?


Answer

Isue is fixed with using version 9.5.