want to send log files from Ubuntu Server via email using sendemail but the when I do all the text in the email is all in one big mess ( one space between words new lines and spacing not brought into email ) .. no neat format ? How do I fix formatting of log files for email ? I have a had a little play with fmt but had no joy.
Any hints would be appreciated :)
Thank you