CodeIgniter Forums
Other Email issue - probably simple - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Other Email issue - probably simple (/showthread.php?tid=10571)



Other Email issue - probably simple - El Forum - 08-05-2008

[eluser]soupdragon[/eluser]
I have the following problem !
I am using the standard email class
but my cc and bcc mails are not working !
Any ideas ? - the "to" mail arrives with no problem

and no it is not a firewall problem !


if($fromwhere == 'register') {
unset($details['mysubmit']);

$this->email->from('[email protected]', '[email protected]');
$this->email->to($details['email']);
$this->email->cc('[email protected]');
$this->email->bcc('[email protected]');


$this->email->subject('Enclosed is your activation link');
$confirm = base64_encode($details['email']);
$text = 'Thank you for your new member registration.
To activate your new account, please visit the following

}
$this->email->message($text );
}

if ( ! $this->email->send())
{
// Generate error
#echo "<pre>";
#print_r($text);
echo $this->email->print_debugger();
}

thanks for any hints !