用php 发送电子邮件的协议一个问题 虚心求教

如何使用phpmailer发送邮件(案例)_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
如何使用phpmailer发送邮件(案例)
&&详细教你如何在php中用phpmailer实现邮件发送
阅读已结束,下载本文需要
想免费下载更多文档?
定制HR最喜欢的简历
下载文档到电脑,方便使用
还剩1页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢Linux服务器下PHPMailer发送邮件失败的问题解决
转载 & & 作者:锅子博客
这篇文章主要给大家介绍了关于如何解决Linux服务器下PHPMailer发送邮件失败的问题,文中通过示例代码介绍的很详细,相信对大家具有一定的参考价值,需要的朋友们下面来一起看看吧。
更换服务器之后,我发现我的发送邮件功能失效了!原来的服务器是可以的,一定是哪里出问题了,决定来排查一下。我是用的PHPMailer,SMTP方式发送邮件的。
这种方式首先PHP要开启sockets拓展,查了一下phpinfo页面,是开启的:
看了一下openssl也是开启(因为拿了qq邮箱来测),所以没问题:
那就再看一下allow_url_fopen,开启的,没问题:
是不是禁用了函数?没有禁用,没问题:
那配置上就没有问题了,我就想,是不是端口被占用了?
运行一下:netstat -tnlp
第一条就是这玩意:
25端口被占用,被一个叫master的玩意占了,好家伙,看看是什么东西,运行ps -f -p 1818看一下结果,1818为当前这个程序的进程号PID,可以看到是:
是postfix这个东西在运行,可能搭建环境的时候不小心给装了。
postfix是个什么东西?
postfix是一款运行在Linux环境下免费的邮件服务器,或者称为MTA(Mail Transfer Agent),其它类似的有Sendmail、Qmail、exim及Zmailer 等。所以Postfix就是一个搭邮件服务器的。那这玩意肯定是冲突了,我们要通过25端口请求外部的邮件服务器,而本地用25端口运行了一个邮件服务器,这个是不行的估计.
尝试解决问题
我们尝试一下用我们这个邮件服务器去发邮件,而不是用外部服务器(比如之前用阿里云企业邮),放了一小段测试代码到PHPMailer目录同级下:
&?php header("content-type:text/charset=utf-8"); require 'PHPMailer/class.phpmailer.php'; try { $mail = new PHPMailer(true); $mail-&IsSMTP();
$mail-&CharSet='UTF-8';
$mail-&SMTPAuth =
$mail-&Port = 25;
$mail-&Host = '127.0.0.1';//邮箱smtp地址
$mail-&Username = '';//你的邮箱账号
$mail-&Password = '扒拉扒拉。。。';//你的邮箱密码
$mail-&From = '';//你的邮箱账号
$mail-&FromName = '锅子';
$to = "扒拉扒拉@qq.com";
$mail-&AddAddress($to);
$mail-&Subject = "test";
$mail-&Body = 'hello!';
$mail-&WordWrap = 80;
$mail-&IsHTML(true);
$mail-&Send();
echo "success!";
} catch (phpmailerException $e) {
echo "邮件发送失败:".$e-&errorMessage();
通过25端口的本地服务器发送邮件,运行这个页面,发现不行,报错不能够验证,说明这其中还有一些配置要弄,暂时行不通,不往下深究本地服务器发送了,我们尝试一下换回:
$mail-&Host = ‘smtp.mxhichina.com'; //阿里云的邮箱smtp地址
试一下,还是不行:
没办法连接到SMTP。那我们把25端口的postfix服务器杀掉, 执行kill 1818(当前postfix的PID),再执行一次,还是同样错误,无法连接上。这就奇了怪了,25端口没有程序运行了,还不行。
可能的原因
查到有可能是因为ipv6的原因,phpMailer在进行smtp服务器DNS解析时,得到了IP v6地址,然后与IP v6解析到的地址进行连接,导致连接失败。
我试一下:
ip -6 addr show
没东西,那又不是这个问题。
那是什么原因呢?
既然25端口不可用,于是我想,是否可以尝试一下其它端口,用465端口试试。
465端口(SMTPS):465端口是为SMTPS(SMTP-over-SSL)协议服务开放的,这是SMTP协议基于SSL安全协议之上的一种变种协议,它继承了SSL安全协议的非对称加密的高度安全可靠性,可防止邮件泄露。SMTPS和SMTP协议一样,也是用来发送邮件的,只是更安全些,防止邮件被黑客截取泄露,还可实现邮件发送者抗抵赖功能。防止发送者发送之后删除已发邮件,拒不承认发送过这样一份邮件。
465端口似乎看起来还更好,直接就开始尝试了,进行以下尝试,以下为命令:
sbin/iptables -I OUTPUT -p tcp –dport 465 -j ACCEPT& 打通465端口
/etc/rc.d/init.d/iptables save 保存
service iptables restart 重启
/etc/init.d/iptables status 查看需要打开的端口是否生效?
似乎可行,现在尝试一下,用SMTP的465SSL连接方式来发送邮件,稍微改了一下测试代码:
&?php header("content-type:text/charset=utf-8"); require 'PHPMailer/class.phpmailer.php'; try { $mail = new PHPMailer(true); $mail-&IsSMTP();
$mail-&CharSet='UTF-8';
$mail-&SMTPAuth =
$mail-&SMTPSecure = 'ssl';
$mail-&Port = 465;
$mail-&Host = 'smtp.mxhichina.com';//邮箱smtp地址
$mail-&Username = '';//你的邮箱账号
$mail-&Password = '扒拉扒拉。。。';//你的邮箱密码
$mail-&From = '';//你的邮箱账号
$mail-&FromName = '锅子';
$to = "扒拉扒拉@qq.com";
$mail-&AddAddress($to);
$mail-&Subject = "test";
$mail-&Body = 'hello!';
$mail-&WordWrap = 80;
//$mail-&AddAttachment("f:/test.png"); //可以添加附件
$mail-&IsHTML(true);
$mail-&Send();
echo "success!";
} catch (phpmailerException $e) {
echo "邮件发送失败:".$e-&errorMessage(); //测试的时候可以去掉此行的注释
执行,成功!右下角弹出了QQ邮件的提醒。
PHPMailer通过465端口进行更安全的SMTPS协议发送邮件
可以修改:
$mail-&Port = 465;
$mail-&SMTPSecure = 'ssl';
$mail-&Port = 465;
好了,以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作能带来一定的帮助,如果有疑问大家可以留言交流,谢谢大家对脚本之家的支持。
您可能感兴趣的文章:
大家感兴趣的内容
12345678910
最近更新的内容
常用在线小工具夹缝中求生存
利用php虚拟主机向指定QQ邮箱账户发送一份电子邮件,以163邮箱为例。
前言:在阿里云虚拟主机php的苛刻环境下,php函数库少的可怜,各种不支持,想要发送一份不被收件邮箱屏蔽的邮件,顿时感觉整个世界都黑暗了,不过还好,在夹缝中求生存,踩过了各种坑,最后还是有解决之道的。
首先得注册163个人邮箱账号,配置SMTP并设置授权密码(此部分不再赘述,如有疑问请自行百度)。
几点提醒:
邮件发送成功却未收到邮件提醒:发送的邮件可能被放到了垃圾箱,尤其是注意账户为QQ邮箱的收件人。
邮件内容不要太多,否则很有可能会被当成垃圾邮件处理(亲测发送整段html代码邮件会被QQ收件邮箱会屏蔽拒收邮件,而163收件邮箱会正常接收邮件),尤其是注意账户为QQ邮箱的收件人。
以下是以163邮箱配置smpt,亲测代码可用,其他邮箱配置smpt未作尝试。
已解决自定义发件人,代码中已写明。
未解决当收件邮箱为QQ邮箱时,邮件会被QQ邮箱当作垃圾邮件处理的问题。
以下是php代码:
2 header("Content-Type: text/ charset=utf-8");
4 //引入发送邮件类
5 require("smtp.php");
6 //使用163邮箱服务器
7 $smtpserver = "smtp.163.com";
8 //<span style="color: #3邮箱服务器端口
9 $smtpserverport = 25;
<span style="color: # //你的163服务器邮箱账号
<span style="color: # $smtpusermail = "****@163.com";//
<span style="color: # //收件人邮箱,***@163.com/***@qq.com
<span style="color: # $smtpemailto = "";
<span style="color: # //发送人,可随意显示发件人
<span style="color: # $sender = "邮件发送方";
<span style="color: # //你的邮箱账号(去掉@163.com)
<span style="color: # $smtpuser = "****";//你的163邮箱去掉后面的163.com
<span style="color: # //你的邮箱密码
<span style="color: # $smtppass = "*****"; //你的163邮箱SMTP的授权码,千万不要填密码!!!
<span style="color: #
<span style="color: # //邮件主题
<span style="color: # $mailsubject = "邮件提醒";
<span style="color: # //邮件内容
<span style="color: # $mailbody = "
<span style="color: # 详细信息:&/br&
<span style="color: # &h1&这是一封测试邮件&/h1&
<span style="color: # ";
<span style="color: # //邮件格式(HTML/TXT),TXT为文本邮件
<span style="color: # $mailtype = "HTML";
<span style="color: # //这里面的一个true是表示使用身份验证,否则不使用身份验证.
<span style="color: # $smtp = new smtp($smtpserver,$smtpserverport,true,$smtpuser,$smtppass);
<span style="color: # //是否显示发送的调试信息
<span style="color: # $smtp-&debug = TRUE;
<span style="color: # //发送邮件
<span style="color: # $smtp-&sendmail($smtpemailto, $smtpusermail, $sender ,$mailsubject, $mailbody, $mailtype);
<span style="color: #
<span style="color: # ?&
2 header("Content-Type: text/ charset=utf-8");
4 class smtp
/* Public Variables */
var $smtp_port;
var $time_out;
var $host_name;
var $log_file;
var $relay_host;
var $debug;
var $auth;
var $user;
var $pass;
/* Private Variables */
var $sock;
/* Constractor */
function smtp($relay_host = "", $smtp_port = 25,$auth = false,$user,$pass)
$this-&debug = FALSE;
$this-&smtp_port = $smtp_port;
$this-&relay_host = $relay_host;
$this-&time_out = 30; //is used in fsockopen()
$this-&auth = $auth;//auth
$this-&user = $user;
$this-&pass = $pass;
$this-&host_name = "localhost"; //is used in HELO command
$this-&log_file = "";
$this-&sock = FALSE;
/* Main Function */
function sendmail($to, $from, $sender, $subject = "", $body = "", $mailtype, $cc = "", $bcc = "", $additional_headers = "")
$mail_from = $this-&get_address($this-&strip_comment($from));
$body = preg_replace("/(^|(\r\n))(\.)/", "\1.\3", $body);
$header = "MIME-Version:1.0\r\n";
if($mailtype=="HTML")
$header .= "Content-Type:text/html\r\n";
$header .= "To: ".$to."\r\n";
if ($cc != "")
$header .= "Cc: ".$cc."\r\n";
$header .= "From: ".$sender."&".$from."&\r\n";
$header .= "Subject: ".$subject."\r\n";
$header .= $additional_headers;
$header .= "Date: ".date("r")."\r\n";
$header .= "X-Mailer:By Redhat (PHP/".phpversion().")\r\n";
list($msec, $sec) = explode(" ", microtime());
$header .= "Message-ID: &".date("YmdHis", $sec).".".($msec*1000000).".".$mail_from."&\r\n";
$TO = explode(",", $this-&strip_comment($to));
if ($cc != "")
$TO = array_merge($TO, explode(",", $this-&strip_comment($cc)));
if ($bcc != "")
$TO = array_merge($TO, explode(",", $this-&strip_comment($bcc)));
$sent = TRUE;
foreach ($TO as $rcpt_to)
$rcpt_to = $this-&get_address($rcpt_to);
if (!$this-&smtp_sockopen($rcpt_to))
$this-&log_write("Error: Cannot send email to ".$rcpt_to."\n");
$sent = FALSE;
if ($this-&smtp_send($this-&host_name, $mail_from, $rcpt_to, $header, $body))
$this-&log_write("E-mail has been sent to &".$rcpt_to."&\n");
$this-&log_write("Error: Cannot send email to &".$rcpt_to."&\n");
$sent = FALSE;
fclose($this-&sock);
$this-&log_write("Disconnected from remote host\n");
return $sent;
/* Private Functions */
function smtp_send($helo, $from, $to, $header, $body = "")
if (!$this-&smtp_putcmd("HELO", $helo))
return $this-&smtp_error("sending HELO command");
<span style="color: #0
<span style="color: #1
if($this-&auth)
<span style="color: #2
<span style="color: #3
if (!$this-&smtp_putcmd("AUTH LOGIN", base64_encode($this-&user)))
<span style="color: #4
<span style="color: #5
return $this-&smtp_error("sending HELO command");
<span style="color: #6
<span style="color: #7
if (!$this-&smtp_putcmd("", base64_encode($this-&pass)))
<span style="color: #8
<span style="color: #9
return $this-&smtp_error("sending HELO command");
<span style="color: #0
<span style="color: #1
<span style="color: #2
if (!$this-&smtp_putcmd("MAIL", "FROM:&".$from."&"))
<span style="color: #3
<span style="color: #4
return $this-&smtp_error("sending MAIL FROM command");
<span style="color: #5
<span style="color: #6
if (!$this-&smtp_putcmd("RCPT", "TO:&".$to."&"))
<span style="color: #7
<span style="color: #8
return $this-&smtp_error("sending RCPT TO command");
<span style="color: #9
<span style="color: #0
if (!$this-&smtp_putcmd("DATA"))
<span style="color: #1
<span style="color: #2
return $this-&smtp_error("sending DATA command");
<span style="color: #3
<span style="color: #4
if (!$this-&smtp_message($header, $body))
<span style="color: #5
<span style="color: #6
return $this-&smtp_error("sending message");
<span style="color: #7
<span style="color: #8
if (!$this-&smtp_eom())
<span style="color: #9
<span style="color: #0
return $this-&smtp_error("sending &CR&&LF&.&CR&&LF& [EOM]");
<span style="color: #1
<span style="color: #2
if (!$this-&smtp_putcmd("QUIT"))
<span style="color: #3
<span style="color: #4
return $this-&smtp_error("sending QUIT command");
<span style="color: #5
<span style="color: #6
return TRUE;
<span style="color: #7
<span style="color: #8
<span style="color: #9
function smtp_sockopen($address)
<span style="color: #0
<span style="color: #1
if ($this-&relay_host == "")
<span style="color: #2
<span style="color: #3
return $this-&smtp_sockopen_mx($address);
<span style="color: #4
<span style="color: #5
<span style="color: #6
<span style="color: #7
return $this-&smtp_sockopen_relay();
<span style="color: #8
<span style="color: #9
<span style="color: #0
<span style="color: #1
function smtp_sockopen_relay()
<span style="color: #2
<span style="color: #3
$this-&log_write("Trying to ".$this-&relay_host.":".$this-&smtp_port."\n");
<span style="color: #4
$this-&sock = @fsockopen($this-&relay_host, $this-&smtp_port, $errno, $errstr, $this-&time_out);
<span style="color: #5
if (!($this-&sock && $this-&smtp_ok()))
<span style="color: #6
<span style="color: #7
$this-&log_write("Error: Cannot connenct to relay host ".$this-&relay_host."\n");
<span style="color: #8
$this-&log_write("Error: ".$errstr." (".$errno.")\n");
<span style="color: #9
return FALSE;
<span style="color: #0
<span style="color: #1
$this-&log_write("Connected to relay host ".$this-&relay_host."\n");
<span style="color: #2
return TRUE;;
<span style="color: #3
<span style="color: #4
<span style="color: #5
function smtp_sockopen_mx($address)
<span style="color: #6
<span style="color: #7
$domain = preg_replace("^.+@([^@]+)$", "\1", $address);
<span style="color: #8
if (!@getmxrr($domain, $MXHOSTS))
<span style="color: #9
<span style="color: #0
$this-&log_write("Error: Cannot resolve MX \"".$domain."\"\n");
<span style="color: #1
return FALSE;
<span style="color: #2
<span style="color: #3
foreach ($MXHOSTS as $host)
<span style="color: #4
<span style="color: #5
$this-&log_write("Trying to ".$host.":".$this-&smtp_port."\n");
<span style="color: #6
$this-&sock = @fsockopen($host, $this-&smtp_port, $errno, $errstr, $this-&time_out);
<span style="color: #7
if (!($this-&sock && $this-&smtp_ok()))
<span style="color: #8
<span style="color: #9
$this-&log_write("Warning: Cannot connect to mx host ".$host."\n");
<span style="color: #0
$this-&log_write("Error: ".$errstr." (".$errno.")\n");
<span style="color: #1
<span style="color: #2
<span style="color: #3
$this-&log_write("Connected to mx host ".$host."\n");
<span style="color: #4
return TRUE;
<span style="color: #5
<span style="color: #6
$this-&log_write("Error: Cannot connect to any mx hosts (".implode(", ", $MXHOSTS).")\n");
<span style="color: #7
return FALSE;
<span style="color: #8
<span style="color: #9
<span style="color: #0
function smtp_message($header, $body)
<span style="color: #1
<span style="color: #2
fputs($this-&sock, $header."\r\n".$body);
<span style="color: #3
$this-&smtp_debug("& ".str_replace("\r\n", "\n"."& ", $header."\n& ".$body."\n& "));
<span style="color: #4
return TRUE;
<span style="color: #5
<span style="color: #6
<span style="color: #7
function smtp_eom()
<span style="color: #8
<span style="color: #9
fputs($this-&sock, "\r\n.\r\n");
<span style="color: #0
$this-&smtp_debug(". [EOM]\n");
<span style="color: #1
return $this-&smtp_ok();
<span style="color: #2
<span style="color: #3
<span style="color: #4
function smtp_ok()
<span style="color: #5
<span style="color: #6
$response = str_replace("\r\n", "", fgets($this-&sock, 512));
<span style="color: #7
$this-&smtp_debug($response."\n");
<span style="color: #8
if (!preg_match("/^[23]/", $response))
<span style="color: #9
<span style="color: #0
fputs($this-&sock, "QUIT\r\n");
<span style="color: #1
fgets($this-&sock, 512);
<span style="color: #2
$this-&log_write("Error: Remote host returned \"".$response."\"\n");
<span style="color: #3
return FALSE;
<span style="color: #4
<span style="color: #5
return TRUE;
<span style="color: #6
<span style="color: #7
<span style="color: #8
function smtp_putcmd($cmd, $arg = "")
<span style="color: #9
<span style="color: #0
if ($arg != "")
<span style="color: #1
<span style="color: #2
if($cmd=="")
<span style="color: #3
<span style="color: #4
$cmd = $arg;
<span style="color: #5
<span style="color: #6
<span style="color: #7
<span style="color: #8
$cmd = $cmd." ".$arg;
<span style="color: #9
<span style="color: #0
<span style="color: #1
fputs($this-&sock, $cmd."\r\n");
<span style="color: #2
$this-&smtp_debug("& ".$cmd."\n");
<span style="color: #3
return $this-&smtp_ok();
<span style="color: #4
<span style="color: #5
<span style="color: #6
function smtp_error($string)
<span style="color: #7
<span style="color: #8
$this-&log_write("Error: Error occurred while ".$string.".\n");
<span style="color: #9
return FALSE;
<span style="color: #0
<span style="color: #1
<span style="color: #2
function log_write($message)
<span style="color: #3
<span style="color: #4
$this-&smtp_debug($message);
<span style="color: #5
if ($this-&log_file == "")
<span style="color: #6
<span style="color: #7
return TRUE;
<span style="color: #8
<span style="color: #9
$message = date("M d H:i:s ").get_current_user()."[".getmypid()."]: ".$message;
<span style="color: #0
if (!@file_exists($this-&log_file) || !($fp = @fopen($this-&log_file, "a")))
<span style="color: #1
<span style="color: #2
$this-&smtp_debug("Warning: Cannot open log file \"".$this-&log_file."\"\n");
<span style="color: #3
return FALSE;;
<span style="color: #4
<span style="color: #5
flock($fp, LOCK_EX);
<span style="color: #6
fputs($fp, $message);
<span style="color: #7
fclose($fp);
<span style="color: #8
return TRUE;
<span style="color: #9
<span style="color: #0
<span style="color: #1
function strip_comment($address)
<span style="color: #2
<span style="color: #3
$comment = "/\([^()]*\)/";
<span style="color: #4
while (preg_match($comment, $address))
<span style="color: #5
<span style="color: #6
$address = preg_replace($comment, "", $address);
<span style="color: #7
<span style="color: #8
return $address;
<span style="color: #9
<span style="color: #0
<span style="color: #1
function get_address($address)
<span style="color: #2
<span style="color: #3
$address = preg_replace("/([ \t\r\n])+/", "", $address);
<span style="color: #4
$address = preg_replace("/^.*&(.+)&.*$/", "\1", $address);
<span style="color: #5
return $address;
<span style="color: #6
<span style="color: #7
<span style="color: #8
function smtp_debug($message)
<span style="color: #9
<span style="color: #0
if ($this-&debug)
<span style="color: #1
<span style="color: #2
echo $message;
<span style="color: #3
<span style="color: #4
<span style="color: #5
<span style="color: #6 }
<span style="color: #7 ?&
阅读(...) 评论()Zen Cart的安装、设置、升级讨论和使用技巧交流
& 分页: 1 / 1
如题~~~在不同的服务器提供商买的不同的空间,在电子邮件里面的设置都一样,但是不知道什么原因,一个服务器的zencart注册,订单和Contact Us 都可以收到邮件,另一个就不行了,问下,谁知道怎么解决吗?急~~~~~~
帖子: 62注册:
没人知道怎么回事吗?
帖子: 62注册:
用户注册与购买用户这边的邮箱都可以收到邮件,怎么就是HOTMAIL收不到呢?主机配置具体是怎样的,radnows是否知道呢?麻烦你了
帖子: 62注册:
版主你好,请教个问题啊根据日志来看,hotmail账号昨天是有成功投递邮件出去的代码:
03:30:05 1N8V44-0004hU-CF =&
F=&& R=lookuphost T=remote_smtp S=2343 H=mxnew-a.163.com &#91;220.181.12.58&#93; C=&250 Mail OK queued as mx8,OsCowKALlgeGx_tKgL92CA--.8014599& 03:42:47 1N8V7i-0004iM-1M =&
F=&& R=lookuphost T=remote_smtp S=1575 H=mxnew-a.163.com &#91;220.181.12.52&#93; C=&250 Mail OK queued as mx3,NcCowKD7VQeAyvtKgN8XEA--.8015361& 03:57:21 1N8VFe-0004kf-PJ =&
F=&& R=lookuphost T=remote_smtp S=1571 H=mxnew-c.163.com &#91;220.181.12.64&#93; C=&250 Mail OK queued as mx14,QMCowLD7rgLpzftKABdkBw--.8016236& 04:35:17 1N8W53-0006Fv-SB =&
F=&& R=lookuphost T=remote_smtp S=1106 H=mxnew-d.163.com &#91;220.181.12.68&#93; C=&250 Mail OK queued as mx18,RMCowLDrGQLF1vtKwMLaBg--.8018512&但是现在变成:代码:
21:37:28 1N8m2S-0000zb-Qf &=
U=apache P=local S=1133 id=c15ecb12ba4beb12e7d2c85f5b5c3fa7@www.uggbootshare.com T=&Message from UGG Boots & UGGS Cheap On Sale - Buy 100% Australina Sheepskin UGG Boots& from && for
21:37:29 1N8m2S-0000zb-Qf **
F=&& R=lookuphost T=remote_smtp: &#91;color=#FF0000&#93;SMTP error from remote mail server &#91;/color&#93;after MAIL FROM:&& SIZE=2192: host mx4.hotmail.com &#91;65.55.37.104&#93;: 550 SC-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit http://postmaster.live.com for email delivery information and support 21:37:29 1N8m2T-0000zf-6r &= && R=1N8m2S-0000zb-Qf U=mail P=local S=2468 T=&Mail delivery failed: returning message to sender& from && for
21:37:29 1N8m2S-0000zb-Qf Completed 21:37:29 1N8m2T-0000zf-6r =& uggbs && F=&& R=localuser T=local_delivery S=2567 21:37:29 1N8m2T-0000zf-6r Completed服务器环境没有改变任何东西,系统是centos 5 ,这很明显是被微软退信了,不知道是要修改哪里,还请版主帮忙看一下,谢谢咯!
帖子: 2注册:
是不是发太多,被封帐号了?
Zen Cart - 让每个人拥有自己生意的梦想成真 | 恕不回复站内短信提问 | QQ: 3171061
帖子: 12265注册:
版主您好,感谢您的回复!应该不是被封账号,因为在后台可以对会员发送邮件,是能成功发送的。但是订单或留言发送,却不行,是不是程序上少了什么?
帖子: 2注册:
显示帖子 : 全部帖子1天7天2周1个月3个月6个月1年
排序 作者发表时间文章标题 升序降序
& 分页: 1 / 1
正在浏览此版面的用户:没有注册用户 和 1 位游客

我要回帖

更多关于 发送电子邮件的协议 的文章

 

随机推荐