- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to 'mailx'
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 12:11 AM
тАО02-21-2002 12:11 AM
another question on 'mailx'
I want mail to many persons using 'mailx' ,but I want to make some as 'CC' ,some as 'TO' .how can I do this ?
thanks
pig
Solved! Go to Solution.
- Tags:
- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 12:15 AM
тАО02-21-2002 12:15 AM
Re: how to 'mailx'
With each mail recipient, just use a comma
after each one.
e.g
cat my file | mailx -s "my subject" fred@domain.com, joe@domain.com
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 12:22 AM
тАО02-21-2002 12:22 AM
Re: how to 'mailx'
cat your_file | mailx -s "your subject" user1@domain.com, user2@domain.com
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 12:25 AM
тАО02-21-2002 12:25 AM
Re: how to 'mailx'
I want to mail to WINDOWS MS Exchenge Server and hope some receivers as "CC" not "TO" ,are you understand ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 12:34 AM
тАО02-21-2002 12:34 AM
SolutionYou can do it on this way:
/usr/bin/mailx -s "testing" abcde@abcde.com < yourfile
In "yourfile", you can type:
~c 12345@abcde.com
~b 34567@abcde.com
~c is cc and ~b is bcc. And the ~c and ~b lines will not appear in the mail contents.
Hope this helps.
Kenny.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2002 12:35 AM
тАО02-21-2002 12:35 AM
Re: how to 'mailx'
See man mailx.
Input mode :-
~b name ... Add name to the blind carbon copy (Bcc) list.
~c name ... Add name to the carbon copy (Cc) list.
Paula