![]() |
CI 2.0.1: $this->email->to() not being set - 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: CI 2.0.1: $this->email->to() not being set (/showthread.php?tid=43855) |
CI 2.0.1: $this->email->to() not being set - El Forum - 07-25-2011 [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. Code: $this->load->library('email'); Code: User-Agent: CodeIgniter Did I miss something? CI 2.0.1: $this->email->to() not being set - El Forum - 07-25-2011 [eluser]InsiteFX[/eluser] And were are you getting $user->email from? CI 2.0.1: $this->email->to() not being set - El Forum - 07-25-2011 [eluser]Matt Stein[/eluser] Just a user model -- that much works. It's a valid email address, which I've confirmed both by tracing and typing a string in directly. Same result. I'm starting to think this is a MAMP + ISP problem. Moved from Seattle to Orlando(ish) and am now on a different ISP (Comcast to ATT U-Verse). None of my CI apps or MAMP-served stuff is sending email. CI 2.0.1: $this->email->to() not being set - El Forum - 07-25-2011 [eluser]Matt Stein[/eluser] Actually, never mind. This whole thing was a result of my ISP change, not something CI related. |