[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 way I've been sending attachments from
Unix/Oracle:
let $mail_cmd = ' (cat body.txt; uuencode attach.txt
attach.txt) | mailx -s "My Subject Line"
my_email@my_email.com,my_email2@other_email.com'
call SYSTEM using $mail_cmd #status nowait
body.txt is the body of my e-mail.
attach.txt is the attachment file.
Greg.
--- "Blackwell, Lisa" <liblackw@vt.edu> wrote:
> 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
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users