[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Unable to -CC & -BCC when using psmail
- Subject: RE: [sqr-users] Unable to -CC & -BCC when using psmail
- From: akshara naik <akshara_naik@yahoo.com>
- Date: Wed, 24 May 2006 09:11:25 -0700 (PDT)
- Delivery-date: Wed, 24 May 2006 13:01:31 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;b=U0uRau36GvZV0pzmJgR/gUrZSw0iVEZbgbKO4nHngFgXgXJyHWMONeKG76HiiRuiDFRWBXI3HJUGJn7cc3OCd4ofeWypMtSLRvjiP8Mndw5xC+6UtVFY4ITkMJGLTcaNHR4ePT6xe0UuzNcyVswh293gL7Kn8WYw3tcrU1cc25Y=;
- In-reply-to: <C3A8BF882E6B604B8DFA11DDD25D222603487396@UM-EMAIL05.um.umsystem.edu>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Hi Richard,
I even changed the syntax to look like this:
'psmail -TO"abc@xyz.com" -CC"lmn@xyz.com"
-SUBJECT"Test" -BODY"Test mail." '
abc@xyz.com receives the email but lmn@xyz.com does
not!
Is there a sequence for the command line arguments?
Ex: first -TO, then -SUBJECT, then -BODY and then -CC?
Akshara.
--- "Knapp, Richard" <KnappR@umsystem.edu> wrote:
>
> Have you tried assembling your string without
> carriage returns?
>
> Richard Knapp
> AITS - Reporting
> University of Missouri
> Locust Street Building
> Columbia, MO 65201
> 573-882-8856
> knappr@umsystem.edu
>
>
> -----Original Message-----
> From:
> sqr-users-bounces+knappr=umsystem.edu@sqrug.org
>
[mailto:sqr-users-bounces+knappr=umsystem.edu@sqrug.org]
> On Behalf Of
> akshara naik
> Sent: Tuesday, May 23, 2006 6:40 PM
> To: sqr-users@sqrug.org
> Subject: [sqr-users] Unable to -CC & -BCC when using
> psmail
>
>
> 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
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>
__________________________________________________
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