[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Mail Attachment thru SQR on UNIX
- Subject: RE: [sqr-users] Mail Attachment thru SQR on UNIX
- From: "Nair, Sumesh" <sumesh.nair@lehman.com>
- Date: Thu, 5 Feb 2004 07:48:56 -0500
- List-id: This list is for discussion about the SQR database reporting language from Hyperion. <sqr-users.sqrug.org>
I used the following code in the sqr and it managed to mail the attachment
with the specified from id using the -r option.
!-------------------------------------------------------------------
Begin-Procedure Send-Mail-Proc
!-------------------------------------------------------------------
let $mail_cmd = 'uuencode
/home/xmsdev/peoplesoft/data_test/ArgentinaPayCycleReport.csv
ArgentinaPayCycleReport.csv | mailx -r pplsoft_expenses_am@lehman.com -s
"Expense Reports Captured in Argentina Pay Cycle" sumesh.nair@lehman.com'
call SYSTEM using $mail_cmd #status nowait
End-Procedure
Thanks a ton David....
------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be
secure or error-free. Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such. All
information is subject to change without notice.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users