Welcome Guest, Not a member yet? Register   Sign In
Dont sending email
#1

[eluser]oliwin[/eluser]
Hello! I have such code function sending email messages:

Code:
function SendEmail($options) {
$config['protocol'] = 'mail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'utf-8';
$config['wordwrap'] = TRUE;
$config['priority'] = 1;
$config['mailtype']='html';
$config['validate']= TRUE;

  
  $this->load->library('email');
  $this->email->initialize($config);
  $this->email->from('[email protected]');
  $this->email->to('[email protected]');
  $this->email->subject('Subject test');
  $this->email->message($options['message']);  
  $this->email->send();
  
}

At debug mode i get message that send was successful but email i dont get
Can you help me? What is maybe?
#2

[eluser]oliwin[/eluser]
I found the solution thx
#3

[eluser]TWP Marketing[/eluser]
If the solution was related to CI's code, please tell us what you did to solve the problem. It may help later readers of the forum...




Theme © iAndrew 2016 - Forum software by © MyBB