07-25-2011, 03:14 PM
[eluser]Matt Stein[/eluser]
As the title suggests, the email debugger is tracing everything properly and indicating that the "mail" protocol is sending as it should. The only problem is that I don't get the email, and it looks like the "To:" field isn't being set.
All addresses are valid, have used $this->email->clear() for good measure, and config is stored in PHP file so there's not been any initialization. No other errors or indications that anything is wrong.
Did I miss something?
As the title suggests, the email debugger is tracing everything properly and indicating that the "mail" protocol is sending as it should. The only problem is that I don't get the email, and it looks like the "To:" field isn't being set.
All addresses are valid, have used $this->email->clear() for good measure, and config is stored in PHP file so there's not been any initialization. No other errors or indications that anything is wrong.
Code:
$this->load->library('email');
$this->email->from('[email protected]', $this->lang->line('app_name'));
$this->email->to($user->email);
$this->email->bcc('[email protected]');
$this->email->subject($subject);
$this->email->message($message);
$this->email->send();
Code:
User-Agent: CodeIgniter
Date: Mon, 25 Jul 2011 17:07:41 -0400
From: "App Name"
Return-Path:
Bcc: [email protected]
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_ALT_4e2ddb1dd9c58"
Did I miss something?