Welcome Guest, Not a member yet? Register   Sign In
ion_auth send mail not working
#3

(This post was last modified: 12-20-2016, 01:44 AM by Diederik.)

Try sending a regular test email
PHP Code:
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'xxxx.xxxx.net';
$config['smtp_user'] = '<username>';
$config['smtp_pass'] = '<password>';
$config['smtp_port'] = 465;
$config['smtp_timeout'] = 30;
$config['charset'] = 'utf-8';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
$config['wordwrap'] = TRUE;
$config['mailtype'] = 'html';
$this->load->library('email'$config);
$this->email->initialize($config);
$this->email->from('<from-address>');
$this->email->to('<to-address>');
$this->email->subject('Test email');
$this->email->message('Test email');
if(!
$this->email->send()){
    
print_r($this->email->print_debugger(), true);

Reply


Messages In This Thread
ion_auth send mail not working - by meSmashsta - 12-19-2016, 11:46 PM
RE: ion_auth send mail not working - by Diederik - 12-20-2016, 01:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB