我有一個來自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',
);
這只是因爲你的服務器!你可以嘗試像郵件 –