LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2009, 07:33 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
File content


In my system , we use mail.pl , via sendmail deamon to send the mail to my exchange server , the mail have a attachment text file inside , the file content is as below ( read in Linux server )

#vi file
PO No. Cost Price Markup
TN1234 100.00 150.00 20.00
TN8758 110.00 160.00 30.00
TN2568 120.00 170.00 20.00


Then I send it to my mail box , and download to my desktop , I use any kind of application ( eg. ms-word , wordpad ) to open it , the decimal is changed to as below .


PO No. Cost Price Markup
TN1234 100.00 15000 20.00
TN8758 110.00 16000 30.00
TN2568 120.00 17000 20.00

The decmial in price column is disappear , ( only one column have the problem ) , is this a known problem of mail.pl , sendmail ? can advise how to solve it ? thx in advance.

Last edited by elainelaw; 10-21-2009 at 08:06 PM.
 
Old 10-21-2009, 10:08 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,806

Rep: Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973
Quote:
Originally Posted by elainelaw View Post
In my system , we use mail.pl , via sendmail deamon to send the mail to my exchange server , the mail have a attachment text file inside , the file content is as below ( read in Linux server )

#vi file
PO No. Cost Price Markup
TN1234 100.00 150.00 20.00
TN8758 110.00 160.00 30.00
TN2568 120.00 170.00 20.00


Then I send it to my mail box , and download to my desktop , I use any kind of application ( eg. ms-word , wordpad ) to open it , the decimal is changed to as below .

#vi file
PO No. Cost Price Markup
TN1234 100.00 15000 20.00
TN8758 110.00 16000 30.00
TN2568 120.00 17000 20.00

The decmial in price column is disappear , ( only one column have the problem ) , is this a known problem of mail.pl , sendmail ? can advise how to solve it ? thx in advance.
No, sendmail won't just arbitrarily change data going through, and mail.pl won't either, but I'm not sure where you got that particular program, though. Chances are, it's a lovely 'feature' of Microsoft products, either Exchange, Outlook, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file content elainelaw Linux - Newbie 11 07-23-2009 06:15 AM
how to create a new file including content from reading another file !? silverhand Programming 2 10-06-2007 04:33 PM
Show file Content on File Select HTML stranger_6_7 Linux - General 4 09-24-2007 11:52 PM
changing the content of file in spec file dsubbarao Linux - Newbie 7 01-30-2007 06:41 AM
find the same content in the file ust Linux - Newbie 5 03-23-2005 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration