Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Getting a program to send an e-mail

michael_green
Beginner
1,311 Views
Hi All,
I need to make a program send me an e-mail when something has gone wrong. The program runs in the middle of the night as a scheduled task, and errors should be rare events.
I have acquired some VB code that does this but I'd much rather implement it in Fortran. The VB code uses a CDO - collaboration data object - but I can't find anything useful in the on-line help system to help me set it up in Fortan, only more VB.
Does anyone have any experience in using this sort of thing, or have any other suggestions?
With many thanks in advance,
Mike
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
1,311 Views
There's MAPI header & sample on my home page. However, the MAPI wants user confirmation to send a mail on behalf of 3rd-party programs; this behavior probably can be changed but I don't know how.

Jugoslav
0 Kudos
Reply