Does anyone know how to send a email message from within a focus exec procedure? I am attempting to send an email to outlook based upon conditions in my focus exec.
You can invoke command-line mail program, e.g. on Unix:
Code:
-IF &CONDITIONS EQ 'SendingMail' THEN GOTO :SENDMAIL ELSE GOTO :THEEND;
-:SENDMAIL
!echo "The e-mail from within FOCEXEC !" | mail user
-:THEEND
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.