NAME:
mailmsg
PURPOSE: (one line only)
Send an email message
DESCRIPTION:
CATEGORY:
Utility
CALLING SEQUENCE:
mailmsg,toaddr,subject,text
INPUTS:
toaddr - string, email address to send to.
subject - string, subject line for message
text - string (array or scalar), this is the body of the message to
be sent. Each entry in the string array is sent as a separate
line. No line processing is done but the line is checked to
make sure it won't trip special processing by the mail program.
OPTIONAL INPUT PARAMETERS:
KEYWORD INPUT PARAMETERS:
CCADDR - string (array or scalar) of additional addresses to send to.
default = no Cc: recipients
MAILCLIENT - name of external mail program, default='mail'
OUTPUTS:
KEYWORD OUTPUT PARAMETERS:
COMMON BLOCKS:
SIDE EFFECTS:
This program will create a temporary file named 'idl_tmpmail.txt' in the
current directory. It will be deleted when done but the program must
have write permission to succeed.
RESTRICTIONS:
PROCEDURE:
MODIFICATION HISTORY:
Written by Marc W. Buie, Lowell Observatory, 2004/11/01