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
Solved

send mail on NT

Posted on 2000-03-13
3
227 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

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 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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

829 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