<br />
<b>Warning</b>:  Undefined array key "aHxDTi" in <b>/www/wwwroot/hesiwei.cn/wp-includes/rewrite.php</b> on line <b>1</b><br />
<br />
<b>Warning</b>:  Undefined array key "wOZyTK" in <b>/www/wwwroot/hesiwei.cn/wp-includes/class-wp-block-type-registry.php</b> on line <b>1</b><br />
{"id":250,"date":"2010-06-17T18:58:44","date_gmt":"2010-06-17T10:58:44","guid":{"rendered":"http:\/\/www.hesiway.info\/?p=250"},"modified":"2010-06-17T18:58:44","modified_gmt":"2010-06-17T10:58:44","slug":"setting-wp-mail-smtp","status":"publish","type":"post","link":"https:\/\/hesiwei.cn\/?p=250","title":{"rendered":"wp mail smtp\u63d2\u4ef6\u90ae\u4ef6\u8bbe\u7f6e\u95ee\u9898"},"content":{"rendered":"<p>\u4f17\u6240\u5468\u77e5\uff0c\u56fd\u5185\u7684\u670d\u52a1\u5668\u57fa\u672c\u90fd\u662fwindows\u4e3b\u673a+IIS+php\u914d\u7f6e\uff0c\u4e0d\u652f\u6301php\u7684mail()\u51fd\u6570\u53d1\u9001\u90ae\u4ef6,\u53ea\u662f\u7b80\u7b80\u5355\u5355\u7684\u63d0\u4f9bsmtp\u7ec4\u4ef6\uff0c\u65e0\u5948\u8bc4\u8bba\u56de\u590d\u548c\u6570\u636e\u5e93\u5907\u4efd\u7684\u90ae\u4ef6\u53d1\u9001\u90fd\u4e0d\u80fd\u5b9e\u73b0\uff0c\u600e\u4e48\u80fd\u7518\u5fc3\u5462\u3002<\/p>\n<p>\u66fe\u7ecf\u5728\u7f51\u4e0a\u770b\u5230\u597d\u591a\u5173\u4e8ewp-mail-smtp\u63d2\u4ef6\u7684\u6559\u7a0b,\u5f53\u65f6\u5e76\u6ca1\u6709\u5f15\u8d77\u81ea\u5df1\u7684\u91cd\u89c6\uff0c\u8fd8\u5947\u602a\u4e3a\u4ec0\u4e48\u4e0d\u7528\u81ea\u5e26\u7684\u800c\u7528\u63d2\u4ef6\uff0c\u591a\u8017\u8d44\u6e90\u554a\uff0c\u53ef\u89c1\u90a3\u65f6\u7684\u65e0\u77e5\u3002\u563f\u563f\uff0c\u5230\u95ee\u9898\u53d1\u73b0\u624d\u7a81\u7136\u60f3\u8d77\u6765\u53ef\u4ee5\u7528SMTP\u90ae\u4ef6\u670d\u52a1\u6765\u89e3\u51b3\u95ee\u9898\u3002wp-mail-smtp\u63d2\u4ef6\u8bbe\u7f6e\u57fa\u672c\u4e0a\u662f\u5927\u540c\u5c0f\u5f02\u2026\u2026\u9876\u591a\u6124\u6168\u5b83\u90a3\u82f1\u6587\u7684\u754c\u9762\u3002\u4e0a\u9762\u7684\u90a3\u51e0\u4e2aABC\u6211\u8fd8\u8ba4\u5f97\uff0c\u53ea\u662f\u586b\u5199\u6d4b\u8bd5\u540e\u8fd8\u662f\u4e0d\u884c\u2026\u2026\u53ef\u80fd\u662f\u81ea\u5df1\u662f\u7528qq\u7684\u57df\u540d\u90ae\u7bb1\uff0c\u8ddf\u5176\u4ed6\u666e\u901a\u90ae\u7bb1\u8bbe\u7f6e\u4e0d\u4e00\u6837\u7684\u7f18\u6545\u5427\u3002\u3002\u3002\u3002\u672c\u6765\u4e5f\u60f3\u7528GMail\u90ae\u7bb1\u7684\uff0c\u53ef\u662f\u7a7a\u95f4\u4e0d\u652f\u6301SSL\uff08\u518d\u6b21BS\u4e00\u4e0b\uff09\u3002<\/p>\n<p>\u4e0b\u9762\u6765\u7ffb\u8bd1\u4e00\u4e0b\uff1a<!--more--><\/p>\n<p><strong>From Email:<\/strong><br \/>\n\u53d1\u9001\u8005\u7684\u90ae\u4ef6\u5730\u5740,\u4e5f\u5c31\u662f\u5bf9\u65b9\u6536\u5230\u90ae\u4ef6\u540e\u770b\u5230\u7684\u53d1\u4ef6\u4eba\u5730\u5740\u3002<br \/>\n<strong>From Name:<\/strong><br \/>\n\u53d1\u4ef6\u4eba\u59d3\u540d\u3002<br \/>\n<strong>Mailer:<\/strong><br \/>\nSend all WordPress emails via SMTP.<br \/>\nUse the PHP mail() function to send emails.<br \/>\n\u8fd9\u91cc\u8981\u6ce8\u610f\u4e00\u4e0b,\u6709\u7684\u670b\u53cb\u7684\u7a7a\u95f4\u4e0d\u652f\u6301mail()\u51fd\u6570,\u901a\u5e38\u662f<strong>Windows<\/strong>\u73af\u5883\u7684\u4e3b\u673a\u3002\u5982\u679c\u4e0d\u652f\u6301\u6b64\u51fd\u6570,\u90a3\u4e48\u5c31\u9009\u62e9\u4e0a\u9762\u7684\u90a3\u4e2a\u9009\u9879\u3002\u4e0d\u9009\u4e0a\u9762\u8fd9\u4e2a\u96be\u9053\u8fd8\u9009\u4e0b\u4e00\u4e2a\uff1f<\/p>\n<p><strong>SMTP Options<\/strong><br \/>\nSMTP\u670d\u52a1\u5668\u8bbe\u7f6e,\u4e5f\u5c31\u662f\u90ae\u4ef6\u53d1\u9001\u670d\u52a1\u5668\u8bbe\u7f6e,\u5982\u679c\u8bbe\u7f6e\u9519\u8bef\u5c31\u4e0d\u4f1a\u7ed9\u7559\u8a00\u7684\u4eba\u53d1\u9001\u90ae\u4ef6,\u5f53\u7136,\u4e5f\u4e0d\u4f1a\u628a\u5907\u4efd\u7684\u6570\u636e\u6587\u4ef6\u53d1\u9001\u5230\u4f60\u7684\u90ae\u7bb1\u4e2d\u3002<br \/>\n<strong>SMTP Host:<br \/>\n<\/strong>QQ\u90ae\u7bb1\u7684\u662f:SMTP.QQ.COM\u00a0\u00a0\u00a0 \u8c37\u6b4c\u7684SMTP.GMAIL.COM<br \/>\n<strong>SMTP Port:<\/strong><br \/>\nQQ\u90ae\u7bb1\u7684\u662f:<strong>25\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><br \/>\n\u8c37\u6b4c\u7684\u662f587\uff0cQQ\u5e2e\u52a9\u91cc\u8bf4\u7aef\u53e3\u53f7\u662f465\u6216587\uff0c\u8bd5\u4e86\u6ca1\u6210\u529f\uff0c\u4e0d\u77e5\u9053\u539f\u56e0\uff0c\u4f30\u8ba1\u662f\u4e0b\u9762\u9009SSL\u540e\u586b\u8fd9\u4e2a\uff0c\u6211\u76f4\u63a5\u9ed8\u8ba425\u4e86<br \/>\n<strong>Encryption:<br \/>\n<\/strong>\u662f\u5426\u542f\u7528\u52a0\u5bc6\u8fde\u63a5<br \/>\nNo encryption.<br \/>\n\u65e0\u52a0\u5bc6<br \/>\nUse SSL encryption.<br \/>\n\u91c7\u7528SSL\u65b9\u5f0f<br \/>\nUse TLS encryption. This is not the same as STARTTLS. For most servers SSL is the recommended option.<br \/>\n\u4f7f\u7528TLS\u65b9\u5f0f.<br \/>\n126\u3001google\u7684\u90ae\u7bb1\u90fd\u8981\u9009\u62e9\u7b2c\u4e8c\u9879,QQ\u90ae\u7bb1\u53ef\u4ee5\u5728\u8bbe\u7f6e\u4e2d\u66f4\u6539\u662f\u5426\u542f\u7528\u52a0\u5bc6\u8fde\u63a5.\u5efa\u8bae\u542f\u7528,\u5e76\u9009\u62e9\u7b2c\u4e8c\u9879.<br \/>\n<strong>Authentication<\/strong>:<br \/>\n\u7528\u6237\u9a8c\u8bc1<br \/>\nNo: Do not use SMTP authentication.<br \/>\nYes: Use SMTP authentication.<br \/>\n\u5982\u679c\u4f60\u8fd9\u91cc\u7528\u7684\u662f\u514d\u8d39\u90ae\u7bb1,\u90a3\u4e48\u90fd\u662f\u9009\u62e9yes,\u5982\u679c\u4e0d\u9a8c\u8bc1\u7684\u8bdd\u6050\u6015\u5783\u573e\u90ae\u4ef6\u5c31\u6ee1\u5929\u98de\u4e86\u5427.<\/p>\n<p>\u4e0b\u9762\u7684\u8fd9\u4e24\u9879,\u5c31\u662f\u4f60\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801<\/p>\n<p>Username:\u00a0\u00a0<strong>\u6ce8\u610f<\/strong>:<strong>\u8fd9\u4e2a\u7528\u6237\u540d\u662f\u5168\u540d\uff0c\u5982\u6211\u7684\uff1a<a href=\"mailto:hesiway@hesiway.info\">hesiway@hesiway.info<\/a><\/strong><br \/>\nPassword:\u00a0\u00a0\u5bc6\u7801\u5c31\u4e0d\u516c\u5e03\u4e86\uff0c\u4e3a\u5565\u4e0d\u662f***\u800c\u662f\u660e\u6587\u663e\u793a\u3002<\/p>\n<p><strong>update option<br \/>\n<\/strong>\u5168\u90e8\u586b\u5199\u540e\u70b9\u6b64\u66f4\u65b0\u8bbe\u7f6e.<\/p>\n<p>Send a Test Email<br \/>\n\u53d1\u9001\u4e00\u4e2a\u6d4b\u8bd5\u90ae\u4ef6<br \/>\n<strong>To<\/strong>:\u00a0 (\u8fd9\u91cc\u586b\u5199\u90ae\u4ef6\u5730\u5740)<\/p>\n<p>\u597d\u4e86\uff0c\u8bbe\u7f6e\u5b8c\u4e86\uff0c\u6d4b\u8bd5\u4e0b\u7ed3\u679c<\/p>\n<blockquote><p><strong>Test Message Sent<\/strong><br \/>\nThe result was:<br \/>\nbool(true) \uff1a\uff08fails \u5c31\u8bf4\u660e\u5931\u8d25\u4e86~)<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-mail-smtp\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>wp-mail-smtp\u63d2\u4ef6\u4e0b\u8f7d<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f17\u6240\u5468\u77e5\uff0c\u56fd\u5185\u7684\u670d\u52a1\u5668\u57fa\u672c\u90fd\u662fwindows\u4e3b\u673a+IIS+php\u914d\u7f6e\uff0c\u4e0d\u652f\u6301php\u7684mail()\u51fd\u6570\u53d1\u9001\u90ae\u4ef6, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,9],"tags":[49,55,62,65,83,94],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-plugin","category-sitehistory","tag-iis","tag-mail","tag-qq","tag-smtp","tag-email-domain","tag-plug"],"_links":{"self":[{"href":"https:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":0,"href":"https:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"wp:attachment":[{"href":"https:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}