E-mail attachment with scrambled text.

vino.B bheeman.vino at hotmail.com
Thu Jun 28 11:46:31 UTC 2018


Hi All,

   Request your help, i have a D code which generates a log file 
with below text, in Linux, when i send this log file(text file) 
as an mail attachment the text in the attachment are scrambled so 
request your help on this.

Tried the below Options (no luck):
Content-Type: text/plain
Content-Transfer-Encoding: base64

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

Output in Linux
************Server Details******************
Server Name : 1XXXX     IP: 1XXXXXX
Server Name : 2XXXX     IP: 2XXXXXX
Server Name : 3XXXX     IP: 3XXXXXX
********************************************

The output in Windows(Email attachment) all are in single line

************Server Details******************Server Name : 1XXXX   
   IP: 1XXXXXXServer Name : 2XXXX     IP: 2XXXXXX Server Name : 
3XXXX     IP: 3XXXXXX
********************************************


From,
Vino.B


More information about the Digitalmars-d-learn mailing list