Solved

Sending emails using SMTP

Posted on 2000-04-10
2
180 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 150 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…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

732 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