email_send_image
status.i4.v = email_send_image(user.i1a.r, subject.i1a.r,
file_name.i1a.r)
This function supports sending an email message containing a
graphic image to a user. All arguments must be specified.
The function sends a file or files. Files extensions should
indicate the file type. Supported extensions are:
.gif, .jpeg, .txt, and .csv
user ASCII string containing destination user name(s)
(Multiple names should be separated by commas.)
subject ASCII string containing mail subject
file_name ASCII string containing mail file name
(Multiple files should be separated by spaces.
Specify a value of NULL if specifying the message
with the message argument.)
This function returns status values as follows:
OK success
CLIB_GENERR mail message failed
This function requires the following include files:
cnsparam_h, clib_h, ssdef_h
Related functions:
email_send_message, mail_send_image, mail_send_message, mail_send,
user_email_c, my_current_user_email
C/C++ usage:
int status;
status = email_send_image("hendricks@fnal.gov","Some EMAIL",
"/tmp/tmpfile.txt /tmp/tmpfile.gif");