zencart后台TOOLS=》Send Email时候发现的过错:Notice: FAILED to send Email to all recipients,首先供给解决方法:
翻开文件:admin/mail.php
搜索:$mail = $db->Execute($audience_select['query_string']);
在下面添加以下代码:
$smQuery=$audience_select['query_string'];
if($mail->EOF){
$smQuery=str_replace('left','right',$smQuery);
$smQuery=str_replace('and (s.confirmed = 1 or s.customers_id >= 1)','',$smQuery);
$smQuery=str_replace('s.email_address','c.customers_email_address',$smQuery);
$smQuery=str_replace('where email_address','where customers_email_address',$smQuery);
$mail = $db->Execute($smQuery);
}
然后再去测验一下。我测验完美成功!
我的发送邮件装备是smtpauth,这一项有必要填写这几项:
SMTP Email Account Mailbox
SMTP Email Account Password
SMTP Email Mail Host
SMTP Email Mail Server Port
|