04-24-2010, 06:31 AM
[eluser]Neha[/eluser]
Hi,
I am trying to send mail using email class library, but I did not get the mail 1 hour is passed.
Here is the code I m using in controller
loading library.........
$this->load->library('email');
Function to send mail
$config['protocol'] = 'sendmail';
$this->email->initialize($config);
$this->email->from('someaddr');
$this->email->to('myaddress');
$this->email->cc('someaddr');
$this->email->subject('subject');
$this->email->message('message');
$this->email->send();
Here is the email.php file in config folder
$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$config['mailtpye'] = 'html';
Please help me in this issue.
Thanks in advance.
Hi,
I am trying to send mail using email class library, but I did not get the mail 1 hour is passed.
Here is the code I m using in controller
loading library.........
$this->load->library('email');
Function to send mail
$config['protocol'] = 'sendmail';
$this->email->initialize($config);
$this->email->from('someaddr');
$this->email->to('myaddress');
$this->email->cc('someaddr');
$this->email->subject('subject');
$this->email->message('message');
$this->email->send();
Here is the email.php file in config folder
$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$config['mailtpye'] = 'html';
Please help me in this issue.
Thanks in advance.