- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- executing mail command within a script to include ...
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
10-15-2001 10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 10:33 AM
10-15-2001 10:33 AM
Solutionuuencode file file|sendmail user@domain.com
There are several ways this can be done, this is just one way..the second instance of file can be in the form file.xls or whatever.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 10:43 AM
10-15-2001 10:43 AM
Re: executing mail command within a script to include attachments
Using "elm" :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x41950559ff7cd4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 10:55 AM
10-15-2001 10:55 AM
Re: executing mail command within a script to include attachments
This is how I send attachments in emails from my hp boxes.
#uuencode file file1 |mailx -m -s "Heading for email"
Thanks.
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 10:58 AM
10-15-2001 10:58 AM
Re: executing mail command within a script to include attachments
If you choose to use the 'elm' approach make sure that you create a .elm directory in the sender's home hirectory. The interactive version of elm will create it automatically but the command line version will not.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 11:56 AM
10-16-2001 11:56 AM
Re: executing mail command within a script to include attachments
#/usr/bin/uuencode file file1 |mailx -s "Heading for email"
With this you can attach any file. One of member already answered the question; but now woth this email you'll be 100% confirmed.
I appreciate this ITRC Forum member and higly reommended to read questions; most of the times they are the first who solved my problems.
Thanks
Zafar