- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- doubt in mailx option
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
Forums
Discussions
Discussions
Discussions
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
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
05-15-2007 09:28 AM
05-15-2007 09:28 AM
what is the syntax for attachment ,cc & bcc in mailx option...
Help apperciated...
Thanks,
Nirmal.
Solved! Go to Solution.
- Tags:
- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 11:23 AM - edited 09-18-2011 03:14 PM
05-15-2007 11:23 AM - edited 09-18-2011 03:14 PM
Re: question on mailx option
mailx doesn't do attachments. You must uuencode or shar(1) up the text.
To get add CC, you can use ~h to edit the 4 headers. Or use ~c name or ~b name to add to what is there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 08:04 PM
05-15-2007 08:04 PM
Re: doubt in mailx option
I suggest you to use mail instead.
Read man mail for further info and options.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 09:01 PM
05-15-2007 09:01 PM
Solutionone simple example for sending a mail with an attachment is:
/usr/bin/uuencode $logfile "Reports Server cache-deleted.lis"|mailx -m -s "Your subject on $(date)" $emailadd1
where emailadd1 and logfile are environment variables pointing to valid values.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 12:00 AM
05-16-2007 12:00 AM
Re: doubt in mailx option
Thanks for reply..
Thanks,
Nirmal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 09:19 AM - edited 12-02-2011 09:56 AM
05-16-2007 09:19 AM - edited 12-02-2011 09:56 AM
Re: question on mailx option
>Art: I suggest you to use mail instead.
Why would you ever want to use mail(1) instead of mailx(1)?