- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx question
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
тАО06-11-2003 07:38 AM
тАО06-11-2003 07:38 AM
I'm having a little and stupid problem but I think my head isn't in its place.
I have a shell tath every time it finishes it sends a mail, I make it in this form:
mailx -s "$vSubject" "$vRecipients" < $1/$fFicheroMail
How can I send a hide copy ( Bcc )???
I try with -b option but i didn't find a good way
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 07:46 AM
тАО06-11-2003 07:46 AM
Re: mailx question
Thats tildi not dash
~ not -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 07:48 AM
тАО06-11-2003 07:48 AM
SolutionTry this out ..
/usr/bin/mailx -s "subject" yourname@yourdomain < myfile
In "myfile", you can type:
~c 12345@abcde.com
~b 34567@abcde.com
~c and ~b lines will not appear in the mail contents.
man mailx for info..
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 07:48 AM
тАО06-11-2003 07:48 AM
Re: mailx question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 07:57 AM
тАО06-11-2003 07:57 AM
Re: mailx question
An alternative solution is to append your $1/$fFicheroMail file to a file containing the following lines:
To: your list of recipients
Bcc: your bcc list
Subject: your subject
then cat the whole lot to sendmail -t. Check the man page for sendmail; the -t option means to get the recipient data from the message.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 08:27 AM
тАО06-11-2003 08:27 AM
Re: mailx question
I think you'll have better luck using sendmail or elm. Check the link I gave you or search the forums for "sendmail and copy".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 10:01 AM
тАО06-11-2003 10:01 AM
Re: mailx question
Chris