login about faq

Hi!

I got this error by open a connection to a t-online.de SSL SMTP server:

Now i like to send an email via SSL, but this doesn't work:

ChilkatLog:
  SendEmail:
    DllDate: Aug 15 2013
    ChilkatVersion: 9.4.1.42
    UnlockPrefix: XXXXXXXXXXXXX
    Username: FRITZ-PC:XXXXXXXXXXXXXX
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 0
    recipients:
      TO: XXXXXXXXX@gmail.com
      totalCount: 1
    --recipients
    renderToMime:
      createEmailForSending:
        xSigningAlg: sha1
        Auto-generating Message-ID
      --createEmailForSending
      renderToMime: Elapsed time: 0 millisec
    --renderToMime
    progressTotal: 4135
    SmtpConnect:
      SmtpHost: securesmtp.t-online.de
      SmtpPort: 587
      SmtpUsername: XXXXXXXXXXXXXXXXXXXX@t-online.de
      SmtpSsl: 1
      StartTLS: 0
      Need new SMTP connection
      checkForExistingConnection: Elapsed time: 0 millisec
      SMTP_Connect:
        Connecting to SMTP server securesmtp.t-online.de:587
        smtp_host: securesmtp.t-online.de
        smtp_port: 587
        smtp_user: XXXXXXXXXXXXXXXX@t-online.de
        ConnectTimeoutMs_1: 30000
        calling ConnectSocket2
        IPV6 enabled connect with NO heartbeat.
        connectingTo: securesmtp.t-online.de
        resolveHostname1:
          Resolving domain name (IPV4) via gethostbyname
        --resolveHostname1
        GetHostByNameHB_ipv4: Elapsed time: 0 millisec
        myIP_1: 192.168.1.20
        myPort_1: 58317
        connect successful (1)
        clientHelloMajorMinorVersion: 3.1
        buildClientHello:
          majorVersion: 3
          minorVersion: 1
          numRandomBytes: 32
          sessionIdSize: 0
          numCipherSuites: 10
          numCompressionMethods: 1
        --buildClientHello
        readIncomingTls_serverHello:
          readTlsRecord:
            Timeout waiting to read socket or accept connection
            timeoutMs: 30000
            Failed to read TLS record (2)
            tlsRec_msg: 162
            msgLen: 8294
          --readTlsRecord
        --readIncomingTls_serverHello
        Expected ServerHello but did not receive it.
        Client handshake failed. (3)
        Failed to connect to SMTP server.
      --SMTP_Connect
      smtpConnect: Socket timeout.
      checkOrMakeSmtpConnection: Elapsed time: 30296 millisec
    --SmtpConnect
    Failed.
  --SendEmail
--ChilkatLog

asked Feb 05 '14 at 09:23

PEngenann's gravatar image

PEngenann
1334


See this: https://www.fastmail.fm/help/technology_ssl_vs_tls_starttls.html

Port 587 is traditionally a port for explicit SSL/TLS, not implicit SSL/TLS. Therefore, you should set the StartTLS property = 1 (which is for explicit SSL/TLS), but leave the SmtpSsl property at the default value of 0.

link

answered Feb 05 '14 at 10:21

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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:

×79
×56

Asked: Feb 05 '14 at 09:23

Seen: 1,356 times

Last updated: Feb 05 '14 at 10:21

powered by OSQA