This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / 请教:echo "[Apr 8 13:05:04] NOTICE[3630] chan_sip.c: Peer '88' is now Reachable. (270ms / 12000ms)" | msmtp myname@email.com 由于echo后面的那句话不知含有哪个特殊字符,导致收到的email没有内容,正文一片空白。请问:1.哪个特殊字符导致的?2.怎么解决?
-akoei(停车**枫林晚);
2013-4-8
(#8139991@0)
-
你一点一点试试不就得了。去掉大部分字母,只留特殊字符,一个一个删。系统的mail 处理这个字符串是没问题的,msmtp可能 有什么限制。https://wiki.archlinux.org/index.php/Msmtp#Using_the_mail_command
Do not merely use "echo 'Yadda, yadda, yadda.'" instead of "cat test.mail". This causes at least Gmail and Yahoo to deliver the mail incorrectly.
-holdon(again);
2013-4-9
{224}
(#8143070@0)