(newline) problem with in text file

Reply

Join Date: Aug 2007
Posts: 63
Reputation: alsoumhi is an unknown quantity at this point 
Solved Threads: 0
alsoumhi alsoumhi is offline Offline
Junior Poster in Training

(newline) problem with in text file

 
0
  #1
Oct 29th, 2009
Hi experts, I am having very small error with my attachment file.
the thing is , if I let my servlet send e-mail fwith attachment file exists on my computer and that file I edit by myself , there is no error with my file , so if i download it from my e-mail and open it again i will find it as I sent it. however , if that file is created by program and let my mail servlet to send an e-mail with that file as an ttachment file , then if i download it from my mail , i will not get it as it is edited by the program
let' say the program edits the file like this:
hello how are you guys
let's see if the file works or not
this is as a test only
thank you very much

I will get this after download:
hello how are you guys? this is as a test only ?thank you very much
actually this character( ? )is not what I saw , just to let you understand me , because I couldn't copy paste the real character, and if I do so it will give me here as new line
do you know what is the solution , please help me guys,
last thing if I would create (doc or pdf) file how can I do that instead of text file please help me
goood luck
thanks
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC