[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Email from SQR
Here is a simple piece of code that I use in one of my programs...program.log
is the file that I email...but it can be anything. Also this file is not sent
as an attachment (it's the body of the email) and at the moment I can't find
the syntax to do the attachment. This is run on a Unix system.
Hope this helps...
***********************
Begin-procedure 0800_send_email
let $email_cmd = 'mail username@vt.edu < program.log'
call system using $email_cmd #email_status
end-procedure !0800_send_email
-----Original Message-----
From: Fisher, Sandy K [mailto:skfisher@ou.edu]
Sent: Thursday, January 09, 2003 2:52 PM
To: 'sqr-users@sqrug.org'
Subject: [sqr-users] Email from SQR
Is there a way to generate an email from an sqr program that would send a
report? Thanks.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users