Email from Chess 3.2 CISAM
Posted 16 May 2005 - 02:01 PM
Any help would be appreciated.
Posted 16 May 2005 - 02:32 PM
I am writting a little application where a user may assign a task to another. I would like to find some way that the one required to perform the task would receive an email alerting them. I know we get emails from events on the HP box and I was hopping I could pass an email address to out of Chess to Unix that would end up in our GroupWise mail System.
I have a a Unix guy comming in a couple of weeks and would like to have some knowlege to pass to him.
Posted 16 May 2005 - 07:17 PM
Try something like this in a global update (GLU) function that you can LSCALL to with
#STAT = SYSTEM("/usr/bin/mail -s '" + $_SUBJECT + "' " + $_EMAILS + " <" + $_EMLFILE + " 2>&1")
Your GLU interface will include the above scratch fields;
I assumed you have a pre-defined text file for the body of the message.
You may also want to encode an attachment; in unix, use UUENCODE
For $_EMAILS, delimit with spaces. We happen to use only the userid's (no @domains's).
Edited by Kevin Bruss, 16 May 2005 - 07:18 PM.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users