{"id":60741,"date":"2025-04-26T09:58:01","date_gmt":"2025-04-26T01:58:01","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60741\/"},"modified":"2025-04-26T09:58:01","modified_gmt":"2025-04-26T01:58:01","slug":"%e8%a7%a3%e5%86%b3zencart%e5%8f%91%e9%80%81%e9%82%ae%e4%bb%b6%e6%8f%90%e7%a4%ba-notice-failed-to-send-email-to-all-recipients","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60741\/","title":{"rendered":"\u89e3\u51b3zencart\u53d1\u9001\u90ae\u4ef6\u63d0\u793a\u201c Notice: FAILED to send Email to all recipients"},"content":{"rendered":"<p>zencart\u540e\u53f0TOOLS=\u300bSend Email\u65f6\u5019\u53d1\u73b0\u7684\u8fc7\u9519:Notice: FAILED to send Email to all recipients\uff0c\u9996\u5148\u4f9b\u7ed9\u89e3\u51b3\u65b9\u6cd5\uff1a   &nbsp;   \u7ffb\u5f00\u6587\u4ef6\uff1aadmin\/mail.php   &nbsp;   \u641c\u7d22\uff1a$mail = $db-&gt;Execute($audience_select[&#8216;query_string&#8217;]);   &nbsp;   \u5728\u4e0b\u9762\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a   &nbsp;   $smQuery=$audience_select[&#8216;query_string&#8217;];   &nbsp; &nbsp; if($mail-&gt;EOF){   &nbsp; &nbsp; $smQuery=str_replace(&#8216;left&#8217;,&#8217;right&#8217;,$smQuery);   &nbsp; &nbsp; $smQuery=str_replace(&#8216;and (s.confirmed = 1 or s.customers_id &gt;= 1)&#8217;,&#8221;,$smQuery);   &nbsp; &nbsp; $smQuery=str_replace(&#8216;s.email_address&#8217;,&#8217;c.customers_email_address&#8217;,$smQuery);   &nbsp; &nbsp; $smQuery=str_replace(&#8216;where email_address&#8217;,&#8217;where customers_email_address&#8217;,$smQuery);   &nbsp; &nbsp; $mail = $db-&gt;Execute($smQuery);   &nbsp; &nbsp; }   &nbsp;   &nbsp;   \u7136\u540e\u518d\u53bb\u6d4b\u9a8c\u4e00\u4e0b\u3002\u6211\u6d4b\u9a8c\u5b8c\u7f8e\u6210\u529f\uff01   &nbsp;   &nbsp;   \u6211\u7684\u53d1\u9001\u90ae\u4ef6\u88c5\u5907\u662fsmtpauth\uff0c\u8fd9\u4e00\u9879\u6709\u5fc5\u8981\u586b\u5199\u8fd9\u51e0\u9879\uff1a   &nbsp;   SMTP Email Account Mailbox   SMTP Email Account Password   SMTP Email Mail Host   SMTP Email Mail Server Port   &nbsp;  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>zencart\u540e\u53f0TOOLS=\u300bSend Email\u65f6\u5019\u53d1\u73b0\u7684\u8fc7\u9519:Notice: FAILED to send Email to all recipients\uff0c\u9996\u5148\u4f9b\u7ed9\u89e3\u51b3\u65b9\u6cd5\uff1a &nbsp; \u7ffb\u5f00\u6587\u4ef6\uff1aadmin\/mail.php &nbsp; \u641c\u7d22\uff1a$mail = $db-&gt;Execute($audience_select[&#8216;query_string&#8217;]); &nbsp; \u5728\u4e0b\u9762\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a &nbsp; $smQuery=$audience_select[&#8216;query_string&#8217;]; &nbsp; &nbsp; if($mail-&gt;EOF){ &nbsp; &nbsp; $smQuery=str_replace(&#8216;left&#8217;,&#8217;right&#8217;,$smQuery); &nbsp; &nbsp; $smQuery=str_replace(&#8216;and (s.confirmed = 1 or s.customers_id &gt;= 1)&#8217;,&#8221;,$smQuery); &nbsp; &nbsp; $smQuery=str_replace(&#8216;s.email_address&#8217;,&#8217;c.customers_email_address&#8217;,$smQuery); &nbsp; &nbsp; $smQuery=str_replace(&#8216;where email_address&#8217;,&#8217;where customers_email_address&#8217;,$smQuery); &nbsp; &nbsp; $mail = $db-&gt;Execute($smQuery); &nbsp; &nbsp; } &nbsp; &nbsp; \u7136\u540e\u518d\u53bb\u6d4b\u9a8c\u4e00\u4e0b\u3002\u6211\u6d4b\u9a8c\u5b8c\u7f8e\u6210\u529f\uff01 &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60741","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60741"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60741\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}