email sending

Posted on 2004-10-12
Last Modified: 2013-11-20
Hi experts.
I should send email from my  app. Anyone got idea, link, advice . . .
Question by:elchuma
LVL 44

Expert Comment

ID: 12287065
Have a look here
this is an MFC class that you can use to send e-mails
LVL 86

Accepted Solution

jkr earned 200 total points
ID: 12287251
Or, alternatively: ("CFastSmtp - Fast and easy SMTP class...") - sending a mail can be as easy as

CFastSmtp mail;

if (mail.ConnectServer("SERVER")) {
   mail.SetSenderName("Sender's Name");
   mail.SetSubject("CFastSmtp v1.1 Release");


   mail.SetMessageBody("Here is another test of CFastSmtp SMTP class!");
   if (mail.GetConnectStatus()) {        
       printf(mail.Send() ? "Send was a success!" : "Send failed!");
LVL 12

Expert Comment

ID: 12293723

Expert Comment

by:Amritpal Singh
ID: 12295095

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Login Script to Copy Folders 12 28
Add content to output file 4 62
format the code in java 6 86
Doc'in system (example?) BA 7 86
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

930 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

12 Experts available now in Live!

Get 1:1 Help Now