How can we send an email through MFC. Can sombebody give me an example?
Suppose we have dialog based application with a button to send mail. What could shall we write to make possible an email without giving user interface.
Printable View
How can we send an email through MFC. Can sombebody give me an example?
Suppose we have dialog based application with a button to send mail. What could shall we write to make possible an email without giving user interface.
Look at the Internet section here at CodeGuru and you´ll find several examples and classes for this purpous.
I have used the 'SMTP MFC Classes' by Wes Clyburn myself and it is very easy to use and contains all the
functionality you need to send e-mail. If you need to receive e-mail you should look at some of the POP3 classes.
/Mats Bejedahl