Welcome Guest, Not a member yet? Register   Sign In
Mail not receieved using email library
#1

[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.


Messages In This Thread
Mail not receieved using email library - by El Forum - 04-24-2010, 06:31 AM
Mail not receieved using email library - by El Forum - 04-24-2010, 08:03 AM
Mail not receieved using email library - by El Forum - 04-26-2010, 02:01 AM
Mail not receieved using email library - by El Forum - 04-26-2010, 03:46 AM
Mail not receieved using email library - by El Forum - 04-26-2010, 06:19 AM
Mail not receieved using email library - by El Forum - 04-26-2010, 06:43 AM
Mail not receieved using email library - by El Forum - 04-27-2010, 02:13 AM
Mail not receieved using email library - by El Forum - 04-27-2010, 11:59 AM
Mail not receieved using email library - by El Forum - 08-09-2010, 12:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB