發送郵件我試圖使用發送郵件mailx的UUENCODE和使用的shell腳本使用mailx的
attachments=uuencode file1 file1;uuencode file2 file2;
(echo BODY ; $attachments)| mailx -s "Attachments" -m [email protected]
對於上面的腳本唯一的郵件沒有依附以下附件發送,但是當我使用以下
(echo BODY ; uuencode file1 file1;uuencode file2 file2;)| mailx -s "Attachments" -m [email protected]
現在郵件與附件一起發送。
我是相當新的shellcripting kindly help。
那麼問題是什麼? – konsolebox