81063
只读

邮件系统需要安装那种认证证书,如何配置那?

回帖
回帖数 1
阅读数 1706
发表时间 2012-04-05 14:16:52
🎧
杜江楼主

<?php
$config->mail->turnon         = true;   // trun on email feature or not.
$config->mail->fromAddress    = 'annjiang@cop.com';      // The from address.
$config->mail->fromName       = 'annjiang';      // The from name.
$config->mail->mta            = 'smtp'; // phpmail|sendmail|smtp|gmail

/* SMTP settings. */
if($config->mail->mta == 'smtp')
{
    $config->mail->smtp->debug    = 2;          // Debug level, 0,1,2.
    $config->mail->smtp->auth     = true;       // Need auth or not.
    $config->mail->smtp->host     = 'smtp.cop.com';         // The smtp server host address.
    $config->mail->smtp->port     = '587';         // The smtp server host port.
    $config->mail->smtp->secure   = 'tls';         // The type to encode datas, 'ssl' or 'tls' allowed
    $config->mail->smtp->username = 'annjiang@cop.com';         // The smtp user, may be a full email adress.
    $config->mail->smtp->password = '123456ANNJIANG';         // The smtp user's password.
}
/* Gmail setting. */
elseif($config->mail->mta == 'gmail')
{
    $config->mail->gmail->debug      = 0;       // Debug level, 0,1,2.
    $config->mail->gmail->username   = "";      // GMAIL username
    $config->mail->gmail->password   = "";      // GMAIL password
}

 

配置文件如上,客户端如果想接收发送邮件需要安装认证证书,这种加密形式如何配置那?

折腾了很多天,都没好用。

 

显示的log

SMTP -> FROM SERVER:220 smtp. cop.com Microsoft ESMTP MAIL Service ready at Thu, 5 Apr 2012 17:24:10 +0800
SMTP -> FROM SERVER: 250-smtp. cop.com Hello [nn.n.nn.nnn] 250-SIZE 10485760 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-AUTH GSSAPI NTLM 250-8BITMIME 250-BINARYMIME 250 CHUNKING
SMTP -> FROM SERVER:220 2.0.0 SMTP server ready

2012-04-05 17:26:12 杜江 最后编辑
1个回复
🍟
春哥沙发
该帖子已经转为问题,查看问题
2012-04-05 21:22:53 王春生 回帖
该帖已被设置为 只读,您暂时无法发表新的回复。
联系我们
联系人
张淑钧/高级客户经理
电话(微信)
13156280939
QQ号码
2082428410
联系邮箱
zhangshujun@chandao.com
相关帖子
返回顶部
客服头像
张淑钧
高级客户经理
客服微信
13156280939
2082428410
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。