By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,673 Members | 1,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,673 IT Pros & Developers. It's quick & easy.

Problem with mailx command while sending text file as attachment

P: 17
Hi,

Iam sending mail by using mailx command..for other files it's working file,,But while sending txt files..some junk characters are coming in place of new lines..
my text file containg marking diagram..so can u please help waht to do for gettimg correct file as an attachment.

Iam using Mailx command as given below:
uuencode 123.txt 123.txt |mailx -s "hi" mailid
Sep 4 '08 #1
Share this Question
Share on Google+
1 Reply

ashitpro
Expert 100+
P: 542
Is this file coming from windows box?
If yes, try 'dos2unix' command. It should solve your problems
Sep 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.