- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- mail command
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP