UNIX mail Format issue : Outlook 2007 and 2013

Hi,

I prepare one backup report which drop mail with backup report.
Same report looks different in outlook 2013.

e.g : In outlook 2013 ( its a dummy example only ) :

Server Instance Database Backup Time Status
------------------- --------- --------- -------------- ----------------------
server1...     ins1 DB1 00:23 Completed
Server2 .....ins2 DB2 11:12 Completed
Server3 ...ins3 DB3 19:54 Completed
Server4 ..ins4 DB4 19:55 Completed
Server5 ...ins5 DB5 19:02 Completed

[Here ... means space]

in outlook 2007

Server Instance Database Backup Time Status
------------------- --------- ----------- --------------- ----------------------
server1 ins1 DB1 00:23 Completed
Server2 ins2 DB2 11:12 Completed
Server3 ins3 DB3 19:54 Completed
Server4 ins4 DB4 19:55 Completed
Server5 ins5 DB5 19:02 Completed

I am using printf command for producing result :

printf "%-20s%-10s%-10s%-15s%-85s\n" "$SERVER_NAME" "$INSTANCE_NAME" "$i" "$backup_ftime" "$final"

For mail I am using mail command, other commands are not supported.
In Unix box its generating file with correct space.
If you have faced similar issue and you have solution then please let me know.

All versions of outlook are well known for mangling your formatting however they please, not just squeezing spaces but deleting lines and so forth.

If you want it to show as intended, either put it in a .txt file attachment, or wrap it in html PRE tags like

<html><pre>text
text
text</pre></html>

I have faced a similar solution and found'

1) Ensure the font configured in outlook for plain text email is a non-proportional font.
2) start each line with 1 or more spaces, this seems to avoid the outlook paragraph building "feature" that replaces multiple spaces.

Solutions provided is not working.. please let me know if you have any other solutions.

---------- Post updated at 12:24 PM ---------- Previous update was at 12:23 PM ----------

In our environment we cant send any file as attachment from Unix box.
Security reason.

Moderator comments were removed during original forum migration.

This seems to view fine in outlook 2010 ( sorry don't have 2013 around to test):

(  FMT="  %-20s%-10s%-10s%-16s%-15s%-7s\n"
   printf "$FMT" Server Instance Database Backup Time Status
   printf "$FMT" ------------------- --------- --------- -------------- ----------------------
   printf "$FMT" server1 ins1 DB1 00:23 Completed
   printf "$FMT" Server2 ins2 DB2 11:12 Completed
   printf "$FMT" Server3 ins3 DB3 19:54 Completed
   printf "$FMT" Server4 ins4 DB4 19:55 Completed
   printf "$FMT" Server5 ins5 DB5 19:02 Completed ) | mail -s 'Indent test' testuser@your.company.com

Notice the two spaces at the front of $FMT.