- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx problem
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
11-01-2001 05:45 PM
11-01-2001 05:45 PM
I am writing a script to send an email from hpux to microsoft OUTLOOK. However when I open the e-mail using microsoft OUTLOOK, the document format has changed.
I am using the following command
cat $EMESSAGE | mailx -s"$SUBJECT" email@datacom.com
The original $EMESSAGE file look like this :
Database Name Type of Backup
--------------------------------
CHDSDY online/offline
DISD1F offline
GISD2B offline
GIST1K onlineline
LISD1M onlineline
RISDEVX offline
SDWD1K offline
SRISDE offline
But when I open the email in OUTLOOK,
Database Name Type of Backup
---------------------
CHDSDY online/offline
DISD1F offline
GISD2B offline
GIST1K onlineline
LISD1M onlineline
RISDEVX offline
SDWD1K offline
SRISDE offline
Is there a way to make sure the file format doesn't change when open in OUTLOOK
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 07:10 PM
11-01-2001 07:10 PM
Re: mailx problem
Unless my eyes deceive me I don't see any difference. Please explain what the difference is.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 01:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 01:39 AM
11-02-2001 01:39 AM
Re: mailx problem
But nevertheless I get the point ;-)
The problem is a difference in character sets, on the unix box you are using an evenly-spaced character set, whilst on your PC you are not. I suppose Animesh's answer solves your problem.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:10 AM
11-02-2001 09:10 AM
Re: mailx problem
I not sure somehow the output format have changed once I submit my questions. The columns from the original file on HP_UX should be in fixed length and the second sample ouput should look as what has been posted in my question.
Anyway I seem that both Animesh and Thierry understand what I am trying to asked and thanks both of you.