5.0 Release 20131220 UTF
1、 无图版 无效,点击没有效果。2、SMTP SOCKET 连接 SMTP 服务器发送(支持ESMTP验证) 邮件,此种方式下始终提示 无法验证邮箱账号授权。
为此,我写了个PHP脚本,在主机上测试,则发送正常。是否DT相关模块在数据(邮箱用户名和密码)传递方面出了问题。以下是我的测试脚本,一切正常:[*] "localhost",
[*] 'port' => "26",
[*] 'auth'=> true,
[*] 'username' => "xxx@xxxxxx.com",
[*] 'password' => "123456"));
[*]
[*]$$subject = "Test Message using Mail";
[*]$$message = "Test Message";
[*]$$from = "xxxx ";
[*]$$to = "xxxxx@gmail.com";
[*]
[*]$$headers = array(
[*] 'From' => $$from,
[*] 'To' => $$to,
[*] 'Subject' => $$subject,);
[*]
[*]$$mail = $$smtp->send($$to, $$headers, $$message);
[*]
[*]if (PEAR::isError($$mail)) {
[*] echo("Error:" . $$mail->getMessage() . "
"); }
[*]else {
[*] echo ("Message Sent Successfully using to $$to
"); }
[*]?>复制代码
页:
[1]