- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FILES ATTACHED WITH BODY INTO THE MAIL ..
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-27-2007 03:31 PM
05-27-2007 03:31 PM
ux2dos /path_to/some_file | uuencode some_file.txt | mailx -m -s "MAIL FROM Someone" someone@somewhere.com <
file_for_email_body
it works but with no attached file :(
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 03:36 PM
05-27-2007 03:36 PM
Re: FILES ATTACHED WITH BODY INTO THE MAIL ..
ux2dos /path_to/some_file | uuencode some_file.txt | sendmail someone@somewhere.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 03:52 PM
05-27-2007 03:52 PM
Re: FILES ATTACHED WITH BODY INTO THE MAIL ..
how can i do that???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 04:51 PM
05-27-2007 04:51 PM
Re: FILES ATTACHED WITH BODY INTO THE MAIL ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 05:09 PM
05-27-2007 05:09 PM
Solutioncan you try the solution that i have provided in your other thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1130874
export emailadd="someone@somewhere.com"
export subject="MAIL FROM Someone"
export convertedFile="/tmp/some_file.txt"
export sourceFile="/path_to/some_file"
/usr/bin/ux2dos $sourceFile > $convertedFile
/usr/bin/uuencode $covertedFile "some_file.txt"|mailx -m -s "$subject" $emailadd1
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 05:50 PM
05-27-2007 05:50 PM
Re: FILES ATTACHED WITH BODY INTO THE MAIL ..
Do not waste time on Mail Transfer Agent
(sendmail is one of them). I know
sendmail well as I have been managing
and designig it for the last 22 years
(along with other mainstream MTAs like
Exim, Postfix, Smail, and Qmail).
There are much better tools.
Mutt is one of them. I just installed
it for a customer who wanted to
receive Measureware reports as Excel
attachments via email. Works beautifully.
You can find Mutt at the HP Porting and
Archiving Centre:
http://hpux.cs.utah.edu/
Note that it requires a couple of
addionional packages (look for
run-time dependencies).
Best wishes,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2007 08:21 PM
05-27-2007 08:21 PM
Re: FILES ATTACHED WITH BODY INTO THE MAIL ..
You will have to combine them as Yogeeraj suggests.