Dreamhost + Gmail SMTP + CI |
[eluser]Vicente Russo[/eluser]
Helloo fellows, I need a little push here. I`m trying to send and email with smtp, hosted on dreamhost. The thing is, I dont know where is the problem. I got an 404 error when I execute $this->email->send(); Code: $this->load->library('email'); Checking the apache logs, I got "Premature end of script headers: index.php" error. So what can it be? :S Thx!
[eluser]Dam1an[/eluser]
When you say you get a 404 error, is this the CI 404 or the real 404?
[eluser]Vicente Russo[/eluser]
No redirects. The script ends echoing the print_debugger function. But I added the following line, and it worked: Code: $this->email->set_newline("\r\n"); But I don`t know why the CI 404 error showed up. Misteries....
[eluser]Dam1an[/eluser]
I came accross a thread earlier where chanign the newline character to \r\n fixed something as well (can't remember what though) |
Welcome Guest, Not a member yet? Register Sign In |