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

RE: [sqr-users] Sending email with Attachment from NT



Hi Frank,

Can you please send me the syntax because when I try using, it doesn't
work.

let $email_cmd = 'psmail -TO"'||$address||'" -SUBJECT'||$subject||'"
-BODY"'||$body||'"' ||' -FILE c:\temp\readme.txt'

Thanks
amit

-----Original Message-----
From: sqr-users-bounces+a.kedia=surewest.com@sqrug.org
[mailto:sqr-users-bounces+a.kedia=surewest.com@sqrug.org] On Behalf Of
Kloprogge,Frank F.J.M.
Sent: Sunday, March 19, 2006 11:48 PM
To: This list is for discussion about the SQR database reportinglanguage
from Hyperion Solutions.
Subject: RE: [sqr-users] Sending email with Attachment from NT

Hi,

The options you can use for psmail are:

-FROM, -TO, -SUBJECT, -BODY, -FILE, -ALIAS and -INPUT

-INPUT is used in case the commandline is too long. 
-ALIAS is used to create a short name for the file being attached,
otherwise the receiver gets the complete path/filename

One small problem might arise because I found out that on Windows 2003,
psmail expects UCS2 as characterset.

HTH

Frank.


-----Oorspronkelijk bericht-----
Van: sqr-users-bounces+f.j.m.kloprogge=fontys.nl@sqrug.org
[mailto:sqr-users-bounces+f.j.m.kloprogge=fontys.nl@sqrug.org] Namens
Amit Kedia
Verzonden: vrijdag 17 maart 2006 20:21
Aan: This list is for discussion about the SQR database reporting
languagefrom Hyperion Solutions.
Onderwerp: [sqr-users] Sending email with Attachment from NT

Hello All,

Has anyone sent an email with an attachement from SQR on NT. The
following works except I do not know how to send an attachement. 

let $email_cmd = 'psmail -TO"'||$address||'" -SUBJECT'||$subject||'"
-BODY"'||$body||'"'

call SYSTEM using $email_cmd #status nowait


Your help is appreciated.

thanks
amit


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users


----------------------------------------------------------------
Op deze e-mail zijn de volgende voorwaarden van toepassing:

http://www.fontys.nl/disclaimer

The above disclaimer applies to this e-mail message.
----------------------------------------------------------------

_______________________________________________
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