Home > Web Site Updates > CPJNSMTPConnection v2.77

CPJNSMTPConnection v2.77

May 31, 2008

Just to let everyone know that v2.77 of CPJNSMTPConnection has been released. Updates for this version include:

  • Code now compiles cleanly using Code Analysis (/analyze)
  • Removed the use of the function QuotedPrintableEncode and replaced with ATL::QPEncode
  • Removed the use of the function QEncode and replaced with ATL::QEncode
  • Reworked ReadResponse to use CStringA in line with the implementation in the POP3 class of the author.
Categories: Web Site Updates
  1. Anthony
    June 11, 2008 at 2:57 pm

    have you plans to add TLS support to CPJNSMTPConnection ?

  2. Ashutosh
    June 15, 2008 at 10:46 am

    Hi,I am trying to use you SMTP class and for that I have also downloaded the openssl source.But I am unable to compile the code. Your file OpenSSLMfc.h includes openssl\\ssl.h which in-turn includes, kssl.h which then includes krb5.hI don\’t know how & from where to get this file krb5.h. I tried searching the net, but couldn\’t find a useful link.

  3. door
    July 18, 2008 at 3:26 pm

    I want to get the attachment\’s CID, how to get it?

  4. PJ
    September 2, 2008 at 10:39 pm

    To follow up on the various comments:
    1: How to get the attachment\’s CID. This is available using CPJNSMTPBodyPart::GetContentID. Remember that my SMTP class is not a parser, so if you get a raw email to parse, my code will not help. This is covered in the html file included in the download.
    2. For details on using OpenSSL, you might want to refer to my blog entry http://naughter.spaces.live.com/blog/cns!7692E6D72E26EAC!209.entry. I personally now always use the prebuilt Win32 version of OpenSSL rather than having to mess around with the OpenSSL sources.
    3. TLS Support. Currently the code fully supports SMTP over SSL as used by gmail and I have had no requests to support TLS as it is not a widely deployed protocol.

  1. No trackbacks yet.
Comments are closed.
%d bloggers like this: