{"id":52696,"date":"2023-06-04T10:14:40","date_gmt":"2023-06-04T02:14:40","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=52696"},"modified":"2023-06-04T10:14:40","modified_gmt":"2023-06-04T02:14:40","slug":"send-mail-using-centos7","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/send-mail-using-centos7.html","title":{"rendered":"\u5728CentOS \u4e0a\u4f7f\u7528Sendmail \u53d1\u90ae\u4ef6"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Sendmail \u662f\u4e00\u4e2a\u901a\u7528\u7684\u4e92\u8054\u7f51\u7535\u5b50\u90ae\u4ef6\u6295\u9012\u5de5\u5177\uff0c\u652f\u6301\u591a\u79cd\u90ae\u4ef6\u4f20\u8f93\u548c\u4f20\u9012\u65b9\u6cd5\uff0c\u5305\u62ec\u7528\u4e8e\u901a\u8fc7 Internet \u8fdb\u884c\u7535\u5b50\u90ae\u4ef6\u4f20\u8f93\u7684\u7b80\u5355\u90ae\u4ef6\u4f20\u8f93\u534f\u8bae\uff08SMTP\uff09\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u5982\u679c\u4f60\u8fd0\u884c\u4e86\u4e00\u4e2aweb\u670d\u52a1\u5668\u6216\u8005\u4e00\u53f0VPS \uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5728\u4f60\u7684PHP\u7a0b\u5e8f\u4e2d\u53d1\u9001\u90ae\u4ef6\uff1b\u540c\u6837\uff0c\u5982\u679c\u4f60\u6b63\u5728\u8fd0\u884c\u4e00\u4e2aWordPress\u535a\u5ba2\uff0c\u6216\u8005\u4f60\u6b63\u5728\u4f7f\u7528\u4efb\u4f55\u7c7b\u578b\u7684CMS\uff0c\u4f60\u5141\u8bb8\u4f60\u7684\u8bbf\u95ee\u8005\u901a\u8fc7\u8054\u7cfb\u8868\u5355\u5411\u4f60\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\uff08\u4f8b\u5982\u4f7f\u7528WordPress\u7684Contact Form 7\u63d2\u4ef6\uff09\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u4e00\u4e2a\u540d\u4e3asendmail \u7684\u7b80\u5355\u7684\u7a0b\u5e8f\u5230\u4f60\u7684web\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n \u5b89\u88c5<\/strong><\/div>\n \u8981\u5728CentOS 7\u4e2d\u5b89\u88c5sendmail<\/span> \uff0c\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n \u5982\u679c\u5728CentOS 7\u4e2d\u4f7f\u7528\u4e86SELinux<\/span>\uff0c\u4f60\u9700\u8981\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u5141\u8bb8sendmail<\/span>\u53d1\u9001\u90ae\u4ef6\uff1a<\/p>\n \u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u8fdb\u5165php\u4ea4\u4e92shell \u4e2d\uff1a<\/p>\n \u5728\u4ea4\u4e92shell \u4e2d\uff0c\u7c98\u8d34\u4e0b\u9762\u7684\u4ee3\u7801\uff1a<\/p>\n \u4e0d\u8981\u5fd8\u8bb0\u5c06 user@receiver.com<\/span> \u548c user@sender.com<\/span> \u5206\u522b\u66ff\u6362\u4e3a\u4f60\u7684\u6536\u4ef6\u5730\u5740\u548c\u53d1\u4ef6\u5730\u5740\u3002<\/p>\n \u8981\u76d1\u63a7\u90ae\u4ef6\u65e5\u5fd7\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\uff1a<\/p>\n \u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5 sendmail<\/span> \u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5141\u8bb8\u4f60\u7684\u7528\u6237\u901a\u8fc7\u8054\u7cfb\u680f\u901a\u8fc7\u90ae\u4ef6\u8054\u7cfb\u4f60\u4e86\u3002<\/p>\n via: http:\/\/fasterland.net\/sending-email-via-php-centos-7-using-sendmail.html<\/a><\/p>\n \u4f5c\u8005\uff1aFrancesco Mondello<\/a> \u8bd1\u8005\uff1ageekpi<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n \u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8247-1.html<\/a><\/p>\n |