- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx or other mail utility
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
01-09-2001 07:17 AM
01-09-2001 07:17 AM
mailx or other mail utility
Thanks,
..Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 07:49 AM
01-09-2001 07:49 AM
Re: mailx or other mail utility
Here is a reply that has been posted by Chris Anoruo a while ago:
There are three ways to send and attachment.
#(1) Send in body of e-mail mailx -s 'Subject Lines goes here' user@company.com < filename.txt
#(2) To send as an attachment /usr/bin/uuencode filename.Z filename.Z | /usr/sbin/sendmail user@company.com
#(3) To send as an attachment with Subject, From and To
(
echo "From:
echo "To:
echo "Subject:
echo "This is the body of the e-mail.
If you are having any problem with this file please give us a call.
/usr/bin/uuencode /local/filename filename
) | /usr/sbin/sendmail user@company.com
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 08:09 AM
01-09-2001 08:09 AM
Re: mailx or other mail utility
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9,00.html
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 09:37 AM
01-09-2001 09:37 AM
Re: mailx or other mail utility
I suggest you to use mpack.
This a free small utility which very simple :
You will find it there :
http://hpux.cs.utah.edu/hppd/hpux/Users/mpack-1.5/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 09:51 AM
01-09-2001 09:51 AM
Re: mailx or other mail utility
If you do a search in the forum, you will see several documents.
-m Do not add MIME header lines Mime Version, Content Type & Content Encoding to the header information while sending mails.
example
# uuencode /tmp/testfile testfile.txt | mailx -m -s 'testje' test@mail.com
Check the following discussion:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa408a24d9abcd4118fef0090279cd0f9!0,00.html
Also check "man mailx "
Good Luck