Solved

Sending emails using SMTP

Posted on 2000-04-10
2
176 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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now