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


Author filtered by: David Johns [x]
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
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.
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
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
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
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
Article 6 May 2013   license: CPOL
C++ SMTP client, support SSL and TLS encrypted connection to SMTP server
Re: Incorrect range check by David Johns
Forum Message 6 May 2013  
Good catch. I'll get that in the next release.
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?
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
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?
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
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.
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
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?
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
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
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.
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
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
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
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
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
Forum Message 3 Nov 2012  
iWizardPro, Do you have an example of how to do that? Thanks, David
Forum Message 3 Nov 2012  
Great point. Is there better solution than: for(FileId=0;FileId
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
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
Re: Can't compile by David Johns
Forum Message 26 Oct 2012  
Cool Smith, Did you successfully get it to compile into a dll?
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
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?
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
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
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.
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.
Forum Message 1 Aug 2011  
This has been fixed in Rev 2.0 of the code, which is now posted.
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
Forum Message 21 Sep 2010  
Its been forever since you posted this. Did you ever find a solution for this?
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
Forum Message 18 Aug 2010  
Sounds good. I'd love for people to be able to continue improving this so we can all benefit.
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
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
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:

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