The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Regarding mailing to a distribution list (DL) using mail/mailx command naren_0101bits Shell Programming and Scripting 1 02-06-2008 09:25 AM
unable to sent mail in html format by mailx command. p_prathaban UNIX for Advanced & Expert Users 18 11-22-2007 07:19 AM
How to use mail,mailx command in Shell Script ? sollin Shell Programming and Scripting 16 04-28-2006 03:50 AM
How to set HIGH importance to a mail sent through mailx or sendmail command mitte_dino UNIX for Dummies Questions & Answers 2 09-20-2005 07:07 AM
Carbon Copy to exchange user mclevy UNIX for Dummies Questions & Answers 1 11-18-2002 05:43 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2005
Registered User
 

Join Date: Sep 2005
Posts: 10
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.
Reply With Quote
Forum Sponsor
  #2  
Old 11-16-2005
Registered User
 

Join Date: Nov 2005
Location: cyberjaya
Posts: 85
-c cc Set the carbon copy list to cc. cc should be enclosed in quotes if it contains more than one name.
Reply With Quote
  #3  
Old 10-22-2007
Registered User
 

Join Date: Jul 2005
Posts: 24
I tried using like below

mailx -s "hi" -c abc.com abc.com<<!
This is just a tetsing
!

I just got only one mail instead of 2!!

SunOS 5.8 is my OS.

Anybody please tell me how to send corbon copy?

Thanks.
Reply With Quote
  #4  
Old 10-22-2007
Registered User
 

Join Date: Aug 2007
Posts: 14
Try giving differnt ID in ur CC List.

Thanks,
Sam
Reply With Quote
  #5  
Old 10-22-2007
Registered User
 

Join Date: Oct 2007
Posts: 4
this is your command


mailx -s "SUBJECT LINE" -c "Cc-LIST,multiple ids separated by a comma" TO-LIST
Reply With Quote
  #6  
Old 10-22-2007
Cameron's Avatar
Registered User
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 490
That'll work
Reply With Quote
  #7  
Old 12-18-2007
Registered User
 

Join Date: Jun 2006
Posts: 59
I get an error as -c illigal opetion.

Note : Using HP-UX.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0