$this->load->library('email'); $config['protocol'] = "smtp"; $config['smtp_host'] = "mail.warrebuysse.be"; // Replace this with your host (hotmail/gmail/domain) $config['smtp_port'] = "26"; // Replace this with your port $config['smtp_user'] = "mail@warrebuysse.be"; // Replace with your email $config['smtp_pass'] = "your password"; $config['charset'] = "utf-8"; $config['mailtype'] = "html"; $config['newline'] = "\r\n"; $this->email->initialize($config); $this->email->from('mail@warrebuysse.be', 'Warre Buysse'); $list = array('mail@warrebuysse.be'); $this->email->to($list); $this->email->subject('TESTING MAIL'); $this->email->message('