?
Solved

Sending emails using SMTP

Posted on 2000-04-10
2
Medium Priority
?
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

770 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