We help IT Professionals succeed at work.

send mail on NT

dalgin
dalgin asked
on
260 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.

Comment
Watch Question

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

Commented:
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
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.