用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1132|回复: 1
收起左侧

[HELP] ci的email类如何配置腾讯企业邮箱

[复制链接]
发表于 2017-4-24 18:05:03 | 显示全部楼层 |阅读模式
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp.exmail.qq.com';
$config['smtp_user'] = '*********************';
$config['smtp_pass'] = '*********';
$config['smtp_port'] = 25;
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['wordwrap'] = false;
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
发表于 2017-4-27 10:42:59 | 显示全部楼层
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.exmail.qq.com';
$config['smtp_user'] = '';
$config['smtp_pass'] = '';
$config['smtp_port'] = 465;
$config['smtp_timeout'] = 30;
$config['mailtype'] = 'text';
$config['charset'] = 'utf-8';
$config['wordwrap'] = TRUE;
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";

本版积分规则