07-21-2008, 10:12 PM
[eluser]wrs[/eluser]
Peri,
I rechecked the code I posted, all is working fine here. You told us the error message you received, but not what you did to receive it...
But i'm guessing you've fallen victim to the $this->email->initialize() bug I described above where, even if smtp_user and smtp_pass are set, SMTP authentication is not used.
If you are using the following code:
then consider changing it to:
Peri,
I rechecked the code I posted, all is working fine here. You told us the error message you received, but not what you did to receive it...
But i'm guessing you've fallen victim to the $this->email->initialize() bug I described above where, even if smtp_user and smtp_pass are set, SMTP authentication is not used.
If you are using the following code:
Code:
$this->load->library('email');
$this->email->initialize($config_array);
then consider changing it to:
Code:
$this->load->library('email', $config_array);