{"id":7641,"date":"2020-05-26T19:03:14","date_gmt":"2020-05-26T11:03:14","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7641"},"modified":"2020-05-27T08:31:45","modified_gmt":"2020-05-27T00:31:45","slug":"mutt","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mutt","title":{"rendered":"mutt\u547d\u4ee4 – E-mail\u7ba1\u7406\u7a0b\u5e8f"},"content":{"rendered":"\n

mutt\u662f\u4e00\u4e2a\u6587\u5b57\u6a21\u5f0f\u7684\u90ae\u4ef6\u7ba1\u7406\u7a0b\u5e8f\uff0c\u63d0\u4f9b\u4e86\u5168\u5c4f\u5e55\u7684\u64cd\u4f5c\u754c\u9762\u3002<\/p>\n\n\n\n

\u5b83\u662f\u4e00\u6b3e\u57fa\u4e8e\u6587\u5b57\u754c\u9762\u7684\u90ae\u4ef6\u5ba2\u6237\u7aef\uff0c\u975e\u5e38\u5c0f\u5de7\uff0c\u4f46\u529f\u80fd\u5f3a\u5927\uff0c\u53ef\u4ee5\u7528\u5b83\u6765\u8bfb\u5199\uff0c\u56de\u590d\u4fdd\u5b58\u548c\u5220\u9664\u4f60\u7684\u90ae\u4ef6\uff0c\u80fd\u5728linux\u547d\u4ee4\u884c\u6a21\u5f0f\u4e0b\u6536\u53d1\u90ae\u4ef6\u9644\u4ef6\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mutt [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

h<\/td>\u663e\u793a\u5e2e\u52a9<\/td><\/tr>
a<\/td>\u5728\u90ae\u4ef6\u4e2d\u52a0\u4e0a\u9644\u52a0\u6587\u4ef6<\/td><\/tr>
b<\/td>\u6307\u5b9a\u5bc6\u4ef6\u526f\u672c\u7684\u6536\u4fe1\u4eba\u5730\u5740<\/td><\/tr>
c<\/td>\u6307\u5b9a\u526f\u672c\u7684\u6536\u4fe1\u4eba\u5730\u5740<\/td><\/tr>
f<\/td>\u6307\u5b9a\u8981\u8f7d\u5165\u7684\u90ae\u4ef6\u6587\u4ef6<\/td><\/tr>
F<\/td>\u6307\u5b9amutt\u7a0b\u5e8f\u7684\u8bbe\u7f6e\u6587\u4ef6\uff0c\u800c\u4e0d\u8bfb\u53d6\u9884\u8bbe\u7684.muttrc\u6587\u4ef6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5c06\u6307\u5b9a\u6587\u4ef6\u63d2\u5165\u90ae\u4ef6\u5185\u6587\u4e2d\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mutt -i \/etc\/home\/test.txt<\/pre>\n\n\n\n

\u4ee5\u53ea\u8bfb\u7684\u65b9\u5f0f\u5f00\u542f\u90ae\u4ef6\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mutt -R <\/pre>\n\n\n\n

\u5728\u90ae\u4ef6\u4e2d\u52a0\u4e0a\u9644\u52a0\u6587\u4ef6:<\/p>\n\n\n\n

[root@linuxcool ~]# mutt -a \/etc\/home\/test.txt<\/pre>\n\n\n\n

\u53d1\u9001\u90ae\u4ef6\u5230linuxcool@mail.com\u00a0\u8fd9\u4e2a\u90ae\u7bb1,\u90ae\u4ef6\u4e3b\u9898\u662f\u201ctest\u201d\uff0c\u90ae\u4ef6\u5185\u5bb9\u5728 \/root\/test.txt \u4e2d\uff0c\u90ae\u4ef6\u4e2d\u5305\u542b\u9644\u4ef6 \/home\/backup\/test.sql\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mutt linuxcool@mail.com -s \"test\" -a \/home\/backup\/test.sql <\/pre>\n","protected":false},"excerpt":{"rendered":"

mutt\u662f\u4e00\u4e2a\u6587\u5b57\u6a21\u5f0f\u7684\u90ae\u4ef6\u7ba1\u7406\u7a0b\u5e8f\uff0c\u63d0\u4f9b\u4e86\u5168\u5c4f\u5e55\u7684\u64cd\u4f5c\u754c\u9762\u3002 \u5b83\u662f\u4e00\u6b3e\u57fa\u4e8e\u6587\u5b57\u754c\u9762\u7684\u90ae\u4ef6\u5ba2\u6237\u7aef\uff0c\u975e\u5e38\u5c0f\u5de7\uff0c\u4f46 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7641"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7641"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7641\/revisions"}],"predecessor-version":[{"id":7890,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7641\/revisions\/7890"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}