我的文件格式如下:格式不正確外殼
cat myfile.txt
Size of user01 is 1863 MB, it over than 100 MB
Size of user02 is 1863 MB, it over than 100 MB
Size of user03 is 815 MB, it over than 100 MB
但如果我郵寄到我的郵箱,
cat ./myfile.txt | mail -s "This is test Mail" [email protected]
格式將是如下:
Size of user01 is 1863 MB, it over than 100 MB Size of user02 is 1863 MB, it over than 100 MB Size of user03 is 815 MB, it over than 100 MB
當我將文件內容發送到我的郵箱時,如何保留原始格式!?
我剛剛在我的系統上試過,郵件格式正確。這聽起來像是你的'sendmail'或'postfix'軟件的配置有問題。 – Barmar