- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mail command
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
тАО08-20-2007 05:06 PM
тАО08-20-2007 05:06 PM
I need to attach a document in a mail and send it from HP-UX box to my personal mail id. when i gave the following command,trying to attach abc.txt,
uuencode abc.txt abc.txt |mail id@domain.com,
i could receive the mail but there is no new line in the received file..all the lines gets displayed in a single line with a box as delimeter. Can this be over come?
Solved! Go to Solution.
- Tags:
- attachments
- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:12 PM
тАО08-20-2007 05:12 PM
Solutionux2dos abc.txt
Prepend this before your command and pipe the output to your command mentioned above.
ux2dos abc.txt|uuencode abc.txt abc.txt |mail id@domain.com
Should solve it for you.
:)
Anshu
- Tags:
- ux2dos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:13 PM
тАО08-20-2007 05:13 PM
Re: mail command
Hi viseshu,
Here is the steps
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01028039-2
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:17 PM
тАО08-20-2007 05:17 PM
Re: mail command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:17 PM
тАО08-20-2007 05:17 PM
Re: mail command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:23 PM
тАО08-20-2007 05:23 PM
Re: mail command
I could not login to the url u have given, please help me out.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:27 PM
тАО08-20-2007 05:27 PM
Re: mail command
>Anshu: ux2dos abc.txt|uuencode abc.txt abc.txt |mail id@domain.com
When you want uuencode to take it from stdin, you only want one filename:
ux2dos abc.txt | uuencode abc.txt | mail id@domain.com
- Tags:
- uuencode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:29 PM
тАО08-20-2007 05:29 PM
Re: mail command
uuencode /tmp/abc.txt abc.txt | mailx -m -s "hi" id@domain.com
Your issue replicated.File as attachment with square as attachement.
but with
ux2dos abc.txt | uuencode abc.txt| mailx -m -s "hi" id@domain.com
No issue. File received in redable format without squares.
could you use the above and let me know the result. I used mailx if you noticed!!
use mailx and test. Post Results.....
PS: Please assign points if this solves. I hope i would. :)
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:30 PM
тАО08-20-2007 05:30 PM
Re: mail command
In my above example i did that..... ;)
Thanks for pointing out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2007 05:33 PM
тАО08-20-2007 05:33 PM
Re: mail command
Dennins is correct in saying that wordpad reads the same file sucessfully while notepad isnt able to and shows squares.
You may open it with wordpad w/o issues. But most of the time default file assignment of txt files are with notepad. :)
Cheers!!
Anshu