- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx and cc (-c)
Operating System - HP-UX
1748128
Members
3649
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО06-13-2006 05:36 AM
тАО06-13-2006 05:36 AM
mailx and cc (-c)
I'm using mailx to send reports as attachments to my bosses. I can't get -c to send to multiple addresses. It works fine with one address. The man pages explains to enclose the multiple addresses in quotes, but no luck.
(uuencode file.txt file.txt)| mailx -s"Daily Reports" -c boss2@abc.com boss1@abc.com
Hector
(uuencode file.txt file.txt)| mailx -s"Daily Reports" -c boss2@abc.com boss1@abc.com
Hector
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2006 05:45 AM
тАО06-13-2006 05:45 AM
Re: mailx and cc (-c)
Hi Hector:
Seperate the addresses with commas and drop the '-c' switch:
# ... | mailx -s "Daily Reports" boss2@abc.com, boss1@abc.com
Regards!
...JRF...
Seperate the addresses with commas and drop the '-c' switch:
# ... | mailx -s "Daily Reports" boss2@abc.com, boss1@abc.com
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2006 05:48 AM
тАО06-13-2006 05:48 AM
Re: mailx and cc (-c)
Hector,
Just specify any additional recipients after the first recipient:
echo "hello" | mailx -s "reports" boss1@foo.org boss2@foo.org boss3@foo.org
PCS
Just specify any additional recipients after the first recipient:
echo "hello" | mailx -s "reports" boss1@foo.org boss2@foo.org boss3@foo.org
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2006 06:21 AM
тАО06-13-2006 06:21 AM
Re: mailx and cc (-c)
see the attachment for some mailx options.
and a question:
-c or ~c?
man mailx also telling that ~c.
and a question:
-c or ~c?
man mailx also telling that ~c.
Be Tomorrow, Today.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP