Click to See Complete Forum and Search --> : Sending email through MFC


Shahzad
April 7th, 1999, 12:35 AM
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.

April 7th, 1999, 03:16 AM
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