[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




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