ION_AUTH未使用SMTP发送电子邮件
我是控制器中的触发器:ION_AUTH未使用SMTP发送电子邮件,smtp,ion-auth,Smtp,Ion Auth,我是控制器中的触发器: if($this->ion_auth->register($login, $pass, $mail, $data, array('2'))){ echo $this->ion_auth->messages(); echo $this->ion_auth->errors(); }else{
if($this->ion_auth->register($login, $pass, $mail, $data, array('2'))){
echo $this->ion_auth->messages();
echo $this->ion_auth->errors();
}else{
echo $this->ion_auth->errors();
}
我正在编辑配置和授权:
| Email options.
| -------------------------------------------------------------------------
| email_config:
| 'file' = Use the default CI config or use from a config file
| array = Manually set your email config settings
*/
$config['use_ci_email'] = TRUE; // Send Email using the builtin CI email class, if false it will return the code and the identity
$config['email_config'] = array(
'mailtype' => 'html',
'protocol' => 'smtp',
'smtp_host' => 'smtp.mail.ru',
'smtp_user' => 'user',
'smtp_pass' => 'pass',
);
ION_AUTH发送给我错误-激活未成功
请帮帮我!
用户在数据库中输入,但邮件不是通过SMTP发送的。
如何在电子邮件时事通讯ION_AUTH中显示类的调试信息