Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: John_Tang [x]
Article 6 May 2013   license: CPOL
C++ SMTP client, support SSL and TLS encrypted connection to SMTP server
Forum Message 1 May 2012  
Hi, you can change the charset from "US-ASCII" to "gb2312" in the function FormatHeader, as follows: if(!Attachments.size()) { // no attachments i
Re: NTLM support by John TWC
Forum Message 25 Oct 2010  
Hi Saayan, As I am not familiar with NTLM, I am not going to add NTLM authentication support in the short term. Thanks
Forum Message 23 Sep 2010  
Hi, you can change the charset from "US-ASCII" to "gb2312" in the function FormatHeader, as follows: if(!Attachments.size()) { // no attachments if(m_bHTML) strcat(header,"Content-Type: te
Re: memory leak by John TWC
Forum Message 16 Sep 2010  
Please refer to http://www.codeproject.com/Messages/3558288/Re-Detected-memory-Leaks-at-MF
Re: Nice article by John TWC
Forum Message 9 Sep 2010  
Thanks.
Re: Super!! by John TWC
Forum Message 9 Sep 2010  
Glad that it worked. And thanks for your workaround about Devc++. :)
Re: My vote of 5 by John TWC
Forum Message 25 Aug 2010  
Thanks and glad that it worked.
Forum Message 21 Aug 2010  
Try to copy C:\Program Files\Dev-Cpp\Bin\libeay32.dll and C:\Program Files\Dev-Cpp\Bin\libssl32.dll to the same directory as your exe and see if it works. Thanks.
Forum Message 21 Aug 2010  
Try to remove the following lines from CSmtp.cpp //Add "openssl-0.9.8l\out32" to Additional Library Directories #pragma comment(lib, "ssleay32.lib") #pragma comment(lib, "libeay32.lib")
Forum Message 21 Aug 2010  
Did you add the necessary cpp files (CSmtp.cpp, md5.cpp, base64.cpp) to your project? Thanks.
Forum Message 21 Aug 2010  
Hi Suaranso, you may try http://sourceforge.net/projects/devpaks/files/openssl/[
Forum Message 19 Aug 2010  
Is it possible to combine the two variables into a line before calling AddMsgLine? Thanks.
Forum Message 19 Aug 2010  
Maybe the md5.cpp is also missing. David, could you check this? Thanks
Forum Message 19 Aug 2010  
David, can you edit the article now? BTW, md5.h is missing from your code.
Forum Message 17 Aug 2010  
This is great! With these new features, the code will be much more useful. If you agree, I will upload your code later and add you as the co-author. But I don't know if the co-author can edit the arti
Forum Message 16 Aug 2010  
Hi Mothion, thanks for your idea! Maybe I will add html support next time :)
Forum Message 13 Aug 2010  
Hi David, are you using VS2003? This may happen because the two openssl libraries were built using VS2005.
a major update by John TWC
Forum Message 8 Aug 2010  
A major update to the code has been posted. This update contains many fixes as mentioned in hector santos's comments.
Re: congratulations by John TWC
Forum Message 7 Aug 2010  
Thanks and thanks for your article. Sending SMS is an exciting idea :)
Forum Message 7 Aug 2010  
Hi jaehyek1, Thanks for pointing out this. This should be a bug of the OpenSSL library, see the OpenSSL faq. It says "In most cases the cause of
Re: The bat! by John TWC
Forum Message 5 Aug 2010  
Thank you so much for your insight and expertise! You are right, the code was not tested against a local server. I will try to modify the code according to your comments. Thanks again. :)
Re: Thanks! by John TWC
Forum Message 5 Aug 2010  
Glad you liked it :)
Re: My vote of 5 by John TWC
Forum Message 4 Aug 2010  
Thanks you like it.
Re: My vote of 5 by John TWC
Forum Message 4 Aug 2010  
Thanks
Re: My vote of 3 by John TWC
Forum Message 4 Aug 2010  
Thanks :)
Forum Message 3 Aug 2010  
Hi Jakub, I have added SSL/TLS support to your CSMTP client, please see the article smtp client with SSL/TLS[
Re: My vote of 3 by John TWC
Forum Message 2 Aug 2010  
Hi Aric, Thanks. Many people (like me) search the internet for c++ code that can send mails using smtp but often find that the code they found only works with unencrypted smtp. I was not able to find
Re: Blog entry by John TWC
Forum Message 31 Jul 2010  
Thanks :)
My vote of 5 by John TWC
Forum Message 26 Jul 2010  
very useful
Re: x64 and DEP by John TWC
Forum Message 20 Jul 2008  
Hi Leo, Thank you for pointing out these two important points. As for x86 and x64, the portable code should be written using XXX_PTRs instead of XXX, such as DWORD_PTR instead of DWORD. And use
Thunk and its uses by John_Tang
Article 18 Jul 2008   license: CPOL
An introduction to thunk and its uses in callback handling, interface marshaling, and supporting multiple inheritance in C++.
great by John TWC
Forum Message 19 Dec 2007  
I went through the article without running the sample codes because the article itself was already running the sample codes! I've seen many long articles, but none was clear as this. Thanks!
Great by John TWC
Forum Message 24 Aug 2007  
Although it is the time for .net, ATL is still worth studying for serious Windows programmers. This series of articles tells what must know behind ATL from scratch yet is easily understood.

Page 1 of 1


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid