[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Mailing SQR report from unix



it might be the extra space:
.... = '.... < letter.uue'
try .... = '.... <letter.uue'

Gracen Duffield
Texas Department of Housing and Community Affairs
475-3839


-----Original Message-----
From: Karimundackal, Liz J. [mailto:lkarimundackal@JHANCOCK.COM]
Sent: Friday, July 09, 1999 9:20 AM
To: Multiple recipients of list SQR-USERS
Subject: Mailing SQR report from unix


Hi all,
        I am trying to mail the report created by my SQR program from the
same program.
        My code is :
let $command = 'uuencode letter.htm letter.htm > letter.uue'
call system using $command #encode_status
let $command = 'mail lkarimundackal@jhancock.com < letter.uue'
call system using $command #mail_status

My intention is to send the report as an attachment. I tried the uuencode
and the mail command
from the unix prompt and it worked great, but when I do the same commands
from SQR, the
encoded file goes as text, so the mail has a lot of junk as the text. All
the files, including the uuencoded
file is created properly from SQR and both commands have a success return
code.

Any help will be appreciated.
Thanks in advance,
Liz J Karimundackal
(617) 572-8288
e-mail : lkarimundackal@jhancock.com