We have Chess 3.2 C-ISAM. I would like a user to be able to enter an email address in a function and the requested user would get the email alerting them of an event . We are using HP_UX and GroupWise mail system.
Any help would be appreciated.
Thanks.

Email from Chess 3.2 CISAM
Started by Flip Flueckiger, May 16 2005 02:01 PM
3 replies to this topic
#3
Posted 16 May 2005 - 02:32 PM
Hello,
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.
Thanks
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.
Thanks
#4
Posted 16 May 2005 - 07:17 PM
There may be many ways to do this, but here's one [more].
Try something like this in a global update (GLU) function that you can LSCALL to with
parameters:
#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 and append it to your body for your email (defined via $_EMLFILE). I have had odd results if you attempt to use more "body" space after attachments, so save this step for the very end.
For $_EMAILS, delimit with spaces. We happen to use only the userid's (no @domains's).
Good luck.
-Kevin
Try something like this in a global update (GLU) function that you can LSCALL to with
parameters:
#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).
Good luck.
-Kevin
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