Good morning all.
I'm having some trouble using mailto command in an SQR. Here is the command I have.
let $From = ' -- -F "Human Resources Administration"'
let $text = $TotCnt || ' Body ' || $prcs_process_instance || '. '
let $mail_cmd='/usr/bin/echo "' || $text || '"|/usr/bin/mailx -s ' || $subject_append || $email_addr || $From
I have a unix command line statement:
/usr/bin/echo "Subject "|/usr/bin/mailx -s "Body" -r '"Human Resources Administration"' someemail@gmail.com
If I run that command line statement in PuTTY I get the desired results. I'm trying to make that command line statement work for my sqr. I can't figure it out. Basically, when I run this process I want to receive an email from "Human Resources administration". What it does is sends me an email from appdev, to: Administration, Resources, Human. I'm on peopletools 8.55, HCM 9.2. Unix on Linux. Any help would be much appreciated, thanks all!