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*
42 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: David Johns
[x]
Re: Can I used this code in commercial applications
by
David Johns
Forum Message
14 May 2013
Yes, you may. It is subject to the CPOL: http://www.codeproject.com/info/cpol10.aspx It also carries with it certain obligations from Ope
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Using Dev-C++ to compile the project
by
David Johns
Forum Message
13 May 2013
I'm guessing you can find a guide on how to compile it using Dev-C++ on the OpenSSL website. I think that's where I found a guide for compiling it with MSVC.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Using Dev-C++ to compile the project
by
David Johns
Forum Message
12 May 2013
I'm not familiar with Dev-C++ so I can't be of too much help. What I can say, however, is that when I first got started with this project I was using a different version of MSVC than what the project
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Severe failure with attachments that are too large (greater than 5MB limit)
by
David Johns
Forum Message
12 May 2013
GKarRacer, Which version of the project are you using? This is one of the primary issues resolved in version 2.2 of the code - at least I think. I just want to make sure if you are seeing an issue
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: how to set a smtp proxy?
by
David Johns
Forum Message
12 May 2013
ASERERTA@#@s, Sorry, this capability is not currently supported. If you want to develop it and post back we could look into adding it. Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: retreiving file size for attachments
by
David Johns
Forum Message
12 May 2013
GKarRacer, Great point. Also, in the process of putting this in, I realized a couple of things that aren't good about rev 2.2. Now it reads the attachments one time just to check for total size an
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
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: Incorrect range check
by
David Johns
Forum Message
6 May 2013
Good catch. I'll get that in the next release.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: send with live.com, outlook.com or hotmail.com
by
David Johns
Forum Message
29 Apr 2013
Which AUTH type is it using? Also, can you please confirm the version of the code that you are using by looking at the header of CSmtp.cpp and telling us the highest version listed?
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Works on Linux. CSmtp.cpp needed #include for gethostname()
by
David Johns
Forum Message
29 Apr 2013
Jim, Thanks for the feedback. Can you please try adding it to CSmtp.h instead just below #include I just want to verify it will work as expected before adding it
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: send with live.com, outlook.com or hotmail.com
by
David Johns
Forum Message
25 Apr 2013
Have you tried watching the communication log to see what messages are being passed back and forth between the server and the client?
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: validate email address
by
David Johns
Forum Message
17 Apr 2013
I'm guessing what you read said that the server was responsible for validating the address, meaning as opposed to the client being responsible for that. That process does not take place until after t
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Mail save
by
David Johns
Forum Message
19 Feb 2013
Sandro, No problem! I just didn't understand your first post. The library doesn't currently offer that feature. If you develop it, please send me the code so we can share it with everyone else.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Mail save
by
David Johns
Forum Message
18 Feb 2013
Maybe I don't understand what you mean. If you mean the library this article documents, you can download it by clicking the "Download Source" link at the top of the page. Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Fixed AUTH PLAIN
by
David Johns
Forum Message
13 Feb 2013
Doesn't this get the exact same result as the current code? Is there some portability issue with how it is currently written?
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: fixed CRAM-MD5
by
David Johns
Forum Message
13 Feb 2013
Are the only fixes: 1. Changing the throw ECSmtp(ECSmtp::BAD_LOGIN_PASSWORD); to { m_nError = BAD_LOGIN_PASSWORD; return false; } - Not sure I see the need
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: TLS/SSL Memory Leak?
by
David Johns
Forum Message
13 Feb 2013
It could be. Please post back a solution if you find one. Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: TLS/SSL Memory Leak?
by
David Johns
Forum Message
12 Feb 2013
As long as you are either not manually setting "m_bConnected=false" then DisconnectRemoteServer() will be called on the destructor. That's the only pitfall I could see.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: exception in SayQuit could lead to infinite loop.
by
David Johns
Forum Message
16 Dec 2012
Thanks for finding and contributing this. Can you propose a solution and we will incorporate it into the next release? Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: looks like a bug in plain auth
by
David Johns
Forum Message
3 Dec 2012
You are right. Here are the changes that are necessary to make it work properly: CSmtp.cpp line 78 needs to be changed to: {command_AUTHPLAIN, 5*60, 5*60, 235, ECSmtp::COMM
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: I have some changes for OS X use.
by
David Johns
Forum Message
3 Dec 2012
Davembg, Great! Thanks for your contribution. Hopefully the changes are over version 2.1, which will make them easy to incorporate. You can zip them and send them to davidandrebecca.johns_at_gma
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: crasyed while using smtp.163.com with wrong password
by
David Johns
Forum Message
3 Nov 2012
Did either of you find a solution to this? I'm preparing revision 2.1 of the code and would like to include a fix for this if you have it. Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: linux port patch
by
David Johns
Forum Message
3 Nov 2012
Oleg, Apparently that file has been removed. Can you post it again or email it to me at davidandrebecca_dot_johns_at_gmail_dot_com? I'm putting together a rev 2.1 and could include it in that if
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Attachment ID and Attachment Types
by
David Johns
Forum Message
3 Nov 2012
iWizardPro, Do you have an example of how to do that? Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: portability bug w/ attachment name
by
David Johns
Forum Message
3 Nov 2012
Great point. Is there better solution than: for(FileId=0;FileId
General Discussions
»
Article "Esmtp Client"
Re: portability bugs w/ std::string and exceptions
by
David Johns
Forum Message
3 Nov 2012
Thanks for the feedback. I'm thinking of changing all the conversions from const char* to using the = operator. This seems to be completely acceptable. Can anyone comment on if there is any advanta
General Discussions
»
Article "Esmtp Client"
Re: further info
by
David Johns
Forum Message
3 Nov 2012
The only try{}catch() blocks are catching const ECSmtp&. It must be that another object type is being thrown. You could put a catch(...) after the catch(const ECSmtp&) to catch any other object type
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Can't compile
by
David Johns
Forum Message
26 Oct 2012
Cool Smith, Did you successfully get it to compile into a dll?
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: v2.0 with fixes
by
David Johns
Forum Message
26 Oct 2012
Alan, Sorry I never got back to you. If you want to zip it up and send it to me at davidandrebecca.johns_at_gmail_dot_com I'll look it over, test it out and post it. Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Program crashes sometimes
by
David Johns
Forum Message
26 Oct 2012
You could put a try{}catch() around where the error occurs. Have you trapped what line in the code can lead to the crash?
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Project is now at v2.0 (mods are for 1.9)
by
David Johns
Forum Message
2 Dec 2011
koirsk, If you merge your modifications into version 2.0 of the code I'll post them as version 2.1. Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
How to new security affects using the IWebBrowser2 control
by
David Johns
Forum Message
22 Sep 2011
Thanks for the great article. It touches on some of the issues I have been facing with our application, but what we are doing is a bit different. We use an IWebBrowser2 object to create a new instan
General Discussions
»
A Developer's Survival Guide To Ie Protected Mode
Re: Enable old version
by
David Johns
Forum Message
14 Aug 2011
Are you asking if we can make it so you can get to past revisions of this article? If so, you can get to them by clicking the "Revisions" tab at the top of the page.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Mistakes
by
David Johns
Forum Message
1 Aug 2011
These have been fixed in Rev 2.0 of the code, which is now posted.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Bug when reading answer
by
David Johns
Forum Message
1 Aug 2011
This has been fixed in Rev 2.0 of the code, which is now posted.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Nice code but i found one problem?
by
David Johns
Forum Message
1 Aug 2011
egg0329, I haven't experienced that for myself. Can you step through the code in debug and find out where it crashes and report back? Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Accelerator for child dialog
by
David Johns
Forum Message
21 Sep 2010
Its been forever since you posted this. Did you ever find a solution for this?
General Discussions
»
Keyboard Messages/Accelerators Handling In Mfc Dialog Based Applications
Re: Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
David Johns
Forum Message
20 Aug 2010
John, Sorry - I was working with it in another project and didn't go back and check the sample project. Did you post the corrected code? Thanks, David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
David Johns
Forum Message
18 Aug 2010
Sounds good. I'd love for people to be able to continue improving this so we can all benefit.
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Updated with CRAM-MD5, DIGEST-MD5 and PLAIN authorization and support for html
by
David Johns
Forum Message
16 Aug 2010
John, All, This is a great little library. I love how it is so clean. I have seen others, but most required a lot of nasty stuff to implement them. I had my own little library, but needed to hav
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
Re: unresolved externals
by
David Johns
Forum Message
14 Aug 2010
John, That was it. I was able to build openssl myself and have sent my first gmail email! Thanks so much for this wonderful work. David
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
unresolved externals
by
David Johns
Forum Message
13 Aug 2010
I was so happy to find this. I have a library that sends emails, but it is lacking SSL and attachments. I'm trying to import your classes into my library, but am getting this when I compile:
General Discussions
»
Article "Smtp Client With Ssl/Tls Enabled"
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