I send emails using mailx, which works fine. When I am sending email with an attachment, on Gmail webui the attachments is OK, but not in Mail.app on Mac OS X. The bash code:
( uuencode file file ) | mailx -s "subject" "asdf@gmail.com"
In Mail.app attachment show up as text in the body of message:
begin 777 file M[[N_(PT*(R!C8V-A;2!
Is there any solution?
在Snow Leopard发行版中,这似乎已被打破,有关变通办法,请参阅本文 。
尝试这个:
mailx -s "SUBJECT" -a FILE ADDRESS@SAMPLE.COM
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.