login about faq

Using the example provided in https://www.example-code.com/csharp_winrt/imap_ssl.asp

When I call success = await imap.ConnectAsync("imap.gmail.com");

I get as a last error

ChilkatLog:
  Connect_Imap:
    DllDate: May 29 2017
    ChilkatVersion: 9.5.0.68
    UnlockPrefix: Anything for 30-day trial
    Architecture: Little Endian; 32-bit
    VerboseLogging: 0
    connectInner:
      AutoFix: IMAP port 993 is traditionally for implicit SSL/TLS.
      To prevent auto-fix, set the AutoFix property = False/0
      connectToImapServer:
        hostname: imap.gmail.com
        port: 993
        socket2Connect:
          connect2:
            connectImplicitSsl:
              clientHandshake:
                clientHandshake2:
                  readHandshakeMessages:
                    Failed to read beginning of SSL/TLS record.
                    b: 0
                    dbSize: 0
                    nReadNBytes: 0
                    idleTimeoutMs: 60000
                  --readHandshakeMessages
                --clientHandshake2
              --clientHandshake
              Client handshake failed. (3)
            --connectImplicitSsl
            ConnectFailReason: 103
          --connect2
        --socket2Connect
        failReason: 0
      --connectToImapServer
      connect failed.
    --connectInner
    Failed.
  --Connect_Imap
--ChilkatLog

Thanks for your help

asked Jul 31 at 15:16

DMANCHESTER's gravatar image

DMANCHESTER
1

edited Aug 01 at 16:36

jpbro's gravatar image

jpbro ♦
1.1k2618


What happens if you try a non-async call instead? So:

success = imap.Connect("imap.gmail.com")

Instead of

success = await imap.ConnectAsync("imap.someMailServer.com")
link

answered Aug 01 at 16:49

jpbro's gravatar image

jpbro ♦
1.1k2618

Connect not available with the UWP library.

link

answered Aug 01 at 16:54

DMANCHESTER's gravatar image

DMANCHESTER
1

Sorry wasn't aware of that - was just a shot in the dark. I thought the Async stuff might be adding some unneeded complexity, but I guess it's necessary after all!

Kind of a weird error log - looks like you are connecting to the server, but not getting any data back during the handshake.

(Aug 01 at 17:03) jpbro ♦

This should be fixed in the 9.5.0.69 pre-release here: https://www.nuget.org/packages/Chilkat.uwp/9.5.0.69-pre

link

answered Aug 09 at 12:25

chilkat's gravatar image

chilkat ♦♦
12.8k317367481

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×190

Asked: Jul 31 at 15:16

Seen: 287 times

Last updated: Aug 09 at 12:25

powered by OSQA