我有一个来自ion_auth的注册表单,当我发送表单时,出现一个我无法发送表单的错误。之后,谷歌向我发送一封电子邮件,有人想从我的帐户发送的东西,被封...Google block CodeIgniter-Ion-Auth
$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' => 'ssl://smtp.googlemail.com',
'smtp_port' => 465,
'smtp_user' => '[email protected]', // actual values different
'smtp_pass' => 'my password',
'charset' => 'utf-8',
'newline' => '\r\n',
);
这只是因为你的服务器!你可以尝试像邮件 –