?
Solved

Sending emails using SMTP

Posted on 2000-04-10
2
Medium Priority
?
189 Views
Last Modified: 2010-04-10
Is there anybody out there who has experience of using SMTP directly (i.e. not via MAPI) for the programmatic sending of emails?

What I am really looking for is some code which allows me to configure the "From (reply-to) address", "To address", "subject", "message text", add attachments etc. Configuration of the "bounce address" would also be useful.

Matthew Gardiner
Software Engineer
Matthew.Gardiner@mediadisk.co.uk
0
Comment
Question by:phall2
2 Comments
 
LVL 3

Expert Comment

by:MDarling
ID: 2700719
I use this stuff on codeguru - its very good.


http://codeguru.developer.com/internet/index.shtml

look in the email section.

regards,
Mike.
0
 

Accepted Solution

by:
Samir040498 earned 300 total points
ID: 2753413
I have some amount of SMTP/POP/MIME experience.

The protocol used to send mail is SMTP but the format of the message is governed by MIME and hence you will need to use MIME for the creating of FROM, TO and the other fields.

There is a good comprehesive, cross-platform C++ library (with source code) available to create and edit MIME messages. You can download it from http://www.hunnysoft.com/mimepp/


Good Luck!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question