Solved

send mail on NT

Posted on 2000-03-13
3
218 Views
Last Modified: 2010-04-02
hi,
I'm programming c++.
what I'm trying to do is send mail on windows NT.
I wanted to run it on system tray and if I shutdown the server ,forexample, it'll send a mail to certain places.
it doesnt matter what kind of mail it'll send, but I have to know if it's possible with c++ and how it is done.
please help me with that.

0
Comment
Question by:dalgin
3 Comments
 
LVL 4

Expert Comment

by:nils pipenbrinck
ID: 2611474
sending a mail from a c program is easy..

take a look at the MAPISendMail function.. I can give you an example source that sends a short mail.

nils
0
 
LVL 1

Expert Comment

by:ntdragon
ID: 2611607
try using c++builder
it has an e-mail server component
that will do the job for you
and i didn't try to the must be a way to put it in the system tray
0
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 200 total points
ID: 2611641
Simple MAPI Console Application
http://support.microsoft.com/support/kb/articles/q171/0/96.asp
It is example for send/receive mail
I hope, it helps. Alex
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

816 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

11 Experts available now in Live!

Get 1:1 Help Now