Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use ~c & ~b along with -r in Mailx @ HP Unix

Status
Not open for further replies.

spaniard81

Programmer
Dec 17, 2006
1
IN
Hi,
Using the Mailx utility on HP Unix, my program fails to send e-mail to CC & BCC recipients if I use -r option to specify a sender address.
Can anyone help because my program needs to send e-mail to recipient 'X' and also marks the mail as CC to 'Y' and BCC to 'Z'. Moreover, the sender address can vary for these mail.

Unix MAN page help:
Mailx options ~c & ~b can be used to send a e-mail to CC & BCC recipients. But these ~ options are overridden when -r option is used to specify a sender/return address.

-spaniard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top