9,868,710 members (34,702 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
36 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 1
Page Size:
10
·
25
·
50
Author filtered by: John_Tang
[x]
SMTP Client with SSL/TLS
by
David Johns
, John_Tang
Article
6 May 2013
license:
CPOL
C++ SMTP client, support SSL and TLS encrypted connection to SMTP server
General Programming
»
Internet / Network
»
Email & Smtp
WinXP
C++
Windows
Win32
Dev
Beginner
C++
Windows
VC9.0
Networking
, +
Re: The subject contains the Chinese letters could not be sent
by
John TWC
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Not support Chinese characters?
by
John TWC
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Nice article
by
John TWC
Forum Message
9 Sep 2010
Thanks.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Super!!
by
John TWC
Forum Message
9 Sep 2010
Glad that it worked. And thanks for your workaround about Devc++. :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: My vote of 5
by
John TWC
Forum Message
25 Aug 2010
Thanks and glad that it worked.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Is possible compile your project using Dev-C++ ?
by
John TWC
Forum Message
21 Aug 2010
Glad that it works :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Is possible compile your project using Dev-C++ ?
by
John TWC
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.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Is possible compile your project using Dev-C++ ?
by
John TWC
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")
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Is possible compile your project using Dev-C++ ?
by
John TWC
Forum Message
21 Aug 2010
Did you add the necessary cpp files (CSmtp.cpp, md5.cpp, base64.cpp) to your project? Thanks.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Is possible compile your project using Dev-C++ ?
by
John TWC
Forum Message
21 Aug 2010
Hi Suaranso, you may try http://sourceforge.net/projects/devpaks/files/openssl/[
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
John TWC
Forum Message
20 Aug 2010
David, this is done. Thanks.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: How to add two variables in one line
by
John TWC
Forum Message
19 Aug 2010
Is it possible to combine the two variables into a line before calling AddMsgLine? Thanks.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
John TWC
Forum Message
19 Aug 2010
Maybe the md5.cpp is also missing. David, could you check this? Thanks
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
John TWC
Forum Message
19 Aug 2010
David, can you edit the article now? BTW, md5.h is missing from your code.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
John TWC
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: plain and html support
by
John TWC
Forum Message
16 Aug 2010
Hi Mothion, thanks for your idea! Maybe I will add html support next time :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: unresolved externals
by
John TWC
Forum Message
13 Aug 2010
Hi David, are you using VS2003? This may happen because the two openssl libraries were built using VS2005.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
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.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: congratulations
by
John TWC
Forum Message
7 Aug 2010
Thanks and thanks for your article. Sending SMS is an exciting idea :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Detected memory Leaks at MFC Dialog app Using VS2008
by
John TWC
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
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. :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Thanks!
by
John TWC
Forum Message
5 Aug 2010
Glad you liked it :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: My vote of 5
by
John TWC
Forum Message
4 Aug 2010
Thanks you like it.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: My vote of 5
by
John TWC
Forum Message
4 Aug 2010
Thanks
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: My vote of 3
by
John TWC
Forum Message
4 Aug 2010
Thanks :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
SSL/TLS added to SMTP client
by
John TWC
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[
General Discussions
»
Article "Esmtp Client"
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
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Blog entry
by
John TWC
Forum Message
31 Jul 2010
Thanks :)
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
My vote of 5
by
John TWC
Forum Message
26 Jul 2010
very useful
General Discussions
»
Article "I/O Port Sniffer"
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
General Discussions
»
Article "Thunk And Its Uses"
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++.
Languages
»
C / C++ Language
»
General
VC6
VC8.0
WinXP
C++
Windows
Win32
ATL
Dev
COM
ASM
, +
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!
General Discussions
»
Understanding The Single-Threaded Apartment
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.
General Discussions
»
Atl Under The Hood Part 3
Page 1 of 1
First
·
Prev
·
Next
·
Last
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