{"id":6932,"date":"2020-04-30T08:02:13","date_gmt":"2020-04-30T00:02:13","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6932"},"modified":"2020-04-30T08:02:13","modified_gmt":"2020-04-30T00:02:13","slug":"mailx","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mailx","title":{"rendered":"mailx\u547d\u4ee4 – \u53d1\u9001\u548c\u63a5\u53d7\u90ae\u4ef6"},"content":{"rendered":"\n
\u4f7f\u7528mailx\u547d\u4ee4\u53ef\u4ee5\u4f7f\u7528\u53d1\u9001\u548c\u63a5\u53d7\u90ae\u4ef6\uff0c\u540d\u5b57\u662f\u6536\u4ef6\u4eba\u7684\u59d3\u540d\uff0c\u6b64\u547d\u4ee4\u6bd4mail\u66f4\u5bb9\u6613\u67e5\u770b\u90ae\u4ef6\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mailx [\u53c2\u6570] [\u7528\u6237]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5c06\u6d88\u606f\u53d1\u9001\u5230\u672c\u5730\u7cfb\u7edf\u7684\u7528\u6237zhangsan\uff1a<\/p>\n\n\n\n \u53d1\u9001\u90ae\u4ef6\u7ed9zhangsan@qq.com\uff1a<\/p>\n\n\n\n \u5c06\u6587\u4ef6\u5f53\u505a\u7535\u5b50\u90ae\u4ef6\u7684\u5185\u5bb9\u9001\u51fa\uff1a<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u4f7f\u7528mailx\u547d\u4ee4\u53ef\u4ee5\u4f7f\u7528\u53d1\u9001\u548c\u63a5\u53d7\u90ae\u4ef6\uff0c\u540d\u5b57\u662f\u6536\u4ef6\u4eba\u7684\u59d3\u540d\uff0c\u6b64\u547d\u4ee4\u6bd4mail\u66f4\u5bb9\u6613\u67e5\u770b\u90ae\u4ef6\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1ama […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6932"}],"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=6932"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6932\/revisions"}],"predecessor-version":[{"id":7314,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6932\/revisions\/7314"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-v<\/td> \u663e\u793a\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr> -f<\/td> \u4ece\u6307\u5b9a\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6d88\u606f<\/td><\/tr> -u<\/td> \u8bfb\u53d6\u6307\u5b9a\u7528\u6237\u7684\u90ae\u7bb1<\/td><\/tr> -H<\/td> \u53ea\u663e\u793a\u6807\u9898\u6458\u8981<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# mailx zhangsan<\/pre>\n\n\n\n
[root@linuxcool ~]# mailx zhangsan@qq.com<\/pre>\n\n\n\n
[root@linuxcool ~]# mailx -s \"send with content that is a file\" root@localhost < ftp2.txt<\/pre>\n\n\n\n