~c carbon copy in HP-UX


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ~c carbon copy in HP-UX
# 1  
Old 07-22-2013
~c carbon copy in HP-UX

Hi,

I am using HP-UX operating system and i am trying to send email using mailx command is given below.
below command is working fine.
HTML Code:
(echo ~c 'define.d@aol.com'
cat $mail_body/temp_body)| mailx -s "Hi - This is mail subject" ${to_mail}
problem.

i want to use cc_maillist list(put list of email id's in this file) but when i am using cc command command email is not sending.

HTML Code:
(echo ~c $mail_body/cc_maillist
cat $mail_body/temp_body)| mailx -s "Hi - This is mail subject" $mail_body/to_maillist
Please give me advice it to resolved it.

Thanks,
Krupa
# 2  
Old 07-22-2013
not sure howz your cc_maillist..
it should be

# 3  
Old 07-22-2013
~c carbon copy in HP-UX

Hi,

cc_mail list is generating dynamically.how can i put ~c before each and every email id's.
do you have any solution for this,please provide me with an example.

Thanks,
Krupa
# 4  
Old 07-22-2013
please post some records from that file.
# 5  
Old 07-22-2013
~c carbon copy in HP-UX

Please see the below cc_mail list contain like structure

krupa@aol.com dinas@aol.com phiroj@aol.com wrner@aol.com ... like this.
# 6  
Old 07-22-2013
Do you have permission to modify it during send?
# 7  
Old 07-22-2013
~c carbon copy in HP-UX

yes,i have the permission during the sending
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Carbon copy using mailx command in HP-UX

Can anyone give me the code to carbon copy a mail using mailx command in HP-UX. I want to put the code in shell script. (3 Replies)
Discussion started by: makauser
3 Replies

2. OS X (Apple)

system() in carbon & FTP

Hey, I'm trying to establish a connection to FTP in carbon using the system() function, but I'm not sure how to supply my FTP password in the same command. For example, I have: system("ftp myusername@mydomain.net"); It then obviously prompts for the password, so I tried this (below)... (0 Replies)
Discussion started by: lectersmeal
0 Replies

3. Shell Programming and Scripting

Carbon copy for a mail in mailx command

Hi, Can you please anyone say how to send a mail with carbon copy using the mailx command. i.e the recipient list should be in CC while the mail reaches them. I need the option mailx command Thanks in advance. (11 Replies)
Discussion started by: miltony
11 Replies

4. UNIX for Advanced & Expert Users

Problem with Carbon copy (CC) option in mailx command

Hi, I have problems with the cc option in mailx command. Just went through some of the similar threads but none provides a satisfactory explanation. I have a script using the mailx command in the following way: (echo `cat mailsub.txt` ; uuencode attachment.csv attachment.csv) | mailx -s... (2 Replies)
Discussion started by: SmithaN
2 Replies

5. UNIX for Dummies Questions & Answers

Carbon Copy to exchange user

Hello, I am trying to send a message to few users on an exchange server. I would like to put few of them as CC. When I send it to myself and CC another user, I receive the e-mail and see the other e-mail address under CC but he doesn't receive the e-mail at all. Any ideas ? I am using... (1 Reply)
Discussion started by: mclevy
1 Replies
Login or Register to Ask a Question