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

E_mail

jmloriot
Beginner
1,614 Views

Hi,

I have been using IVF for a long time and I am very happy with it.

Now I have to send results of my program by e_mail to many people. So far I do it by writing a file, copying  the addresses into the clipboard, and manually send them through OUTLOOK.

Is there a way to have the program do it automatically ?

Thanks

Jean-Marc

0 Kudos
1 Reply
Paul_Curtis
Valued Contributor I
1,614 Views
It is pretty straightforward to have your F90 program send out email. For this to happen, the computer needs to have an active sendmail account, for which your program will need the name and password, as well as the recipients' email addresses. I have attached a module, MAPI.f90, which shows how to send email. This module has been extracted from a much larger program and references other code and data objects not included, but this should nonetheless provide an easy template for adapation into your program. Since this forum no longer accepts .f90 files, the file has been renamed with a .txt extension.
0 Kudos
Reply