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
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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

718 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