[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Unable to -CC & -BCC when using psmail
- Subject: [sqr-users] Unable to -CC & -BCC when using psmail
- From: akshara naik <akshara_naik@yahoo.com>
- Date: Tue, 23 May 2006 16:40:02 -0700 (PDT)
- Delivery-date: Tue, 23 May 2006 19:42:27 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;b=zrQj7k5qD1AaXqmTxXTIrZkjSedNugy+pHZd4qP/nFSP72TuVDs7z2evRPhstwcaPUEfZ5H4F1PXBAC6J+AIHRp48rPABhhpdLQBzHigGuGiLAY1Nl598PAu/peQWtJ3d7lCAOXDlvf5i1hUJnmPWkxM37CyNmVD6+MYTydpOKw=;
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Hi Everyone,
I am having problems with -CC and -BCC when using
psmail. All the recipients in the -TO receive the
email but not the ones in -CC and -BCC.
SQR for PeopleSoft/8.45.11/Sun/SunOS/Oracle/Dec 01
2004
Here is my code:
============================
let $config_var = '-TO"abc@yahoo.com;xyz@yahoo.com"
-CC"lmn@gmail.com" -FROM"peoplesoftadmin@xyz.com"
-SUBJECT"'||$Subject||'"
-BODY"'||$Body1||$Body2||'" '
write 1 from $config_var
close 1
close 2
let $system_command_fileconv = 'psuniconv ASCII '
|| $Ascii_Filepath || ' UCS-2 ' || $Unicode_Filepath
Call system using $system_command_fileconv
#call_status_fileconv
if #call_status_fileconv <> 0
show 'Unicode conversion error'
show ' '
show #call_status_fileconv
show $system_command_fileconv
show ' '
let $SendEmail = 'N'
end-if
if $SendEmail <> 'N'
let $system_command_sendemail = 'psmail
-INPUT"'||$Unicode_Filepath||'" '
Call system using $system_command_sendemail
#call_status_sendemail
if #call_status_sendemail <> 0
show 'Error Sending Mail'
show ' '
show #call_status_sendemail
show $system_command_sendemail
show ' '
end-if
end-if
============================
I am not sure what I am doing wrong. Please help!
Regards,
Akshara.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users