[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Sending emails using SMTP

Posted on 2000-04-10
2
Medium Priority
?
186 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

Technology Partners: 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

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…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

656 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