Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Emailing from within focus exec

Status
Not open for further replies.

vbmike

MIS
Apr 1, 2002
1
US
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

On NT, you can use the 'blat' program:

I recommend you to ask on "YOUR PLATFORM" mailing list or forum, about the appropriate mailing utility.

Hope this helps,
Grzegorz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top