Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
I need to develop a SMTP email service within our application. The application is coded in C++ using the .NET framework. I've looked everywhere online but I have been unable to find anything useful. Mostly what I find is information about setting up an email service in HTML. I just need to know how to get started. Could someone point me in the right direction? Are there APIs out there that I could use instead of reinventing the wheel? Any help would be appreciated.
Posted
Comments
Sergey Alexandrovich Kryukov 5-Aug-13 12:18pm    
Why not using existing SMTP service, as a separate service?
—SA
ZurdoDev 5-Aug-13 12:19pm    
.Net has the System.Net.Mail namespace which allows you to generate and send emails.
Sergey Alexandrovich Kryukov 5-Aug-13 12:23pm    
Of course, but sending using available SMTP service. OP wants their own service (I'm not sure why).
We put two answers by now, please see...
—SA

I don't know how come you could not find any.

Please see this CodeProject article: SMTP Server[^].

Maybe you need to look better? Please see: http://bit.ly/13fo2Xc[^].

—SA
 
Share this answer
 
Comments
Richard MacCutchan 5-Aug-13 12:39pm    
A 5 for these links; especially the CP article.
Sergey Alexandrovich Kryukov 5-Aug-13 12:44pm    
Thank you, Richard.
—SA
You need to follow the RFC[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Aug-13 12:26pm    
After all, why not? 5ed.
I also answered, with some links... :-) How come OP could not find any implementations?... :-)
—SA
Richard MacCutchan 5-Aug-13 12:38pm    
How could they not find? Easy, by not trying.
Sergey Alexandrovich Kryukov 5-Aug-13 12:44pm    
Exactly... :-)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900