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
07-19-2001 12:06 PM
07-19-2001 12:06 PM
Problem:
uuencode /path/file.name newfile.txt | mailx
-m -s "Subject" xxxx@xxxx.com
file.name has many lines of text.
newfile.txt when received as an attachment contains all the lines of test in one line.
There seems to be no translation of cr lf.
mailx.rc contains - set charset=X-roman8
set charset=us-ascii
What am I missing?
I can use elm but wish to solve this first.
Thanks for any input.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 12:31 PM
07-19-2001 12:31 PM
Re: mailx
Try
mailx -s "SUBJECT" abc@xyz.com < < file name>
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 12:36 PM
07-19-2001 12:36 PM
Re: mailx
but that will put the text in the body of the email and not as an attachment.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 12:51 PM
07-19-2001 12:51 PM
Re: mailx
add the following to the .profile of the user and you will get the attachement
export NLS_LANG="spanish"_spain.we8dec
export NLS_LANG=AMERICAN_AMERICA.US7ASCII
export LANG=es_ES.iso88591
I have also added the .profile of the user from where I get the atachements .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 01:18 PM
07-19-2001 01:18 PM
Re: mailx
As it turns out the problem was in opening the document in word pad.
Translation of cr and lf seem to be fine when using MS Word or ultra edit.
Rookie error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 01:28 PM
07-19-2001 01:28 PM
Re: mailx
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 12:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 10:47 AM
07-20-2001 10:47 AM
Re: mailx
Thnaks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 03:10 PM
07-20-2001 03:10 PM
Re: mailx
You can select all the text in Wordpad or Word with CTRL-A and then copy the data to the Clipboard. Start Notepad and paste the Clipboard contents and all will be fixed.
As this is a bit too complex for most users, just use ux2dos in your mailx command line to conver the file to a standard ACII file foe PCs.
Bill Hassell, sysadmin