login about faq

I am using Chilkat to receive forwarded emails from an SMTP server. Basically, I am using the socket classes to act as an SMTP server and then doing something other than emailing with the received messages. I was wondering if you have any example code for the TLS/SSL handshake from a server-side. I am trying to handle the STARTTLS command but I am not sure how to do so. It appears that I can do this with the CkSocket class (C++). Could you provide any guidance?

asked Sep 30 '14 at 08:35

chilkat's gravatar image

chilkat ♦♦

Implementing the SSL handshake would be a huge endeavor and it's not something you would do directly. You would let the CkSocket class do it for you by calling ConvertToSsl after receiving the STARTTLS command. You must make sure to call CkSocket::InitSslServer to provide the server-side certificate beforehand.


answered Sep 30 '14 at 08:36

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Sep 30 '14 at 08:35

Seen: 3,231 times

Last updated: Sep 30 '14 at 08:36

powered by OSQA