{"id":9427,"date":"2014-08-25T22:53:59","date_gmt":"2014-08-25T14:53:59","guid":{"rendered":"https:\/\/cloudwp.pro\/?p=9427"},"modified":"2021-02-03T16:16:42","modified_gmt":"2021-02-03T08:16:42","slug":"wp-mandrill-%e8%88%87%e5%85%b6%e5%ae%83%e5%a4%96%e6%8e%9b%e8%a1%9d%e7%aa%81%e6%99%82%e7%9a%84%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/cloudwp.pro\/blog\/wordpress\/wp-mandrill-%e8%88%87%e5%85%b6%e5%ae%83%e5%a4%96%e6%8e%9b%e8%a1%9d%e7%aa%81%e6%99%82%e7%9a%84%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95\/","title":{"rendered":"WP Mandrill \u8207\u5176\u5b83\u5916\u639b\u885d\u7a81\u6642\u7684\u89e3\u6c7a\u65b9\u6cd5"},"content":{"rendered":"
\u5b89\u88dd\u4e86 WP Mandrill \u4e4b\u5f8c\u5c31\u6703\u81ea\u52d5\u53d6\u4ee3 WP \u7684\u5167\u5efa\u767c\u4fe1\u7cfb\u7d71\uff0c\u4f46\u7576\u6709\u5176\u5b83\u5916\u639b\u4e5f\u6709\u81ea\u5df1\u7684\u767c\u4fe1\u8a2d\u5b9a\u6642\uff0c Mandrill \u5c31\u6703\u51fa\u73fe\u8b66\u793a\u4e26\u544a\u77e5\u9700\u8981\u6392\u89e3\u885d\u7a81\u5f8c\u624d\u80fd\u6b63\u5e38\u767c\u4fe1\uff0c \u82e5\u6709\u9019\u500b\u60c5\u5f62\u767c\u751f\uff0c\u53ef\u4ee5\u8a66\u8457\u7167\u4ee5\u4e0b\u7684\u65b9\u6cd5\u4f86\u89e3\u6c7a\u3002<\/p>\n
<\/p>\n
\u6253\u958b wpmandrill.php\uff0c\u5728\u7b2c54\u884c\u66f4\u6539\u70ba\u4e0b\u65b9\u7684 code\u3002<\/p>\n
\r\nif( function_exists('wp_mail')) {\r\n$r = new ReflectionFunction('wp_mail');\r\n$original = ($r->getFileName() === ABSPATH . WPINC . '\/pluggable.php');\r\nif (!$original) {\r\nself::$conflict = true; add_action('admin_notices', array(__CLASS__, 'adminNotices'));\r\nreturn;\r\n}\r\n}\r\n<\/pre>\n\u53e6\u5916\u4e5f\u5c07<\/p>\n
\r\nif( self::isConfigured() ) {\r\n<\/pre>\n\u6539\u70ba<\/p>\n
\r\nif( self::isConfigured() && !function_exists('wp_mail') ) {\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"\u5b89\u88dd\u4e86 WP Mandrill \u4e4b\u5f8c\u5c31\u6703\u81ea\u52d5\u53d6\u4ee3 WP \u7684\u5167\u5efa\u767c\u4fe1\u7cfb\u7d71\uff0c\u4f46\u7576\u6709\u5176\u5b83\u5916\u639b\u4e5f\u6709\u81ea\u5df1\u7684\u767c\u4fe1\u8a2d\u5b9a\u6642\uff0c […]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[65],"tags":[66],"class_list":["post-9427","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-plugin"],"yoast_head":"\n
WP Mandrill \u8207\u5176\u5b83\u5916\u639b\u885d\u7a81\u6642\u7684\u89e3\u6c7a\u65b9\u6cd5 - cloudwp<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n\n\t\n