I have a shared hosting account with multiple domains. I am using CodeIgniter on one site, and I have a contact form. The controller is loading the email library and everything validates fine. No errors are thrown and in fact everything seems normal as if the email is sent, but when I check the address it’s supposed to send to (a gmail address), nothing in the inbox, and not going to spam.
[php]
$this->load->library(‘email’);
$this->email->from( "test@example.com", “Test” );
$this->email->to( "test2@example.com" );
$this->email->subject(“contact form test email”);
$this->email->message(“hello world”);
$this->email->send();
[/php]
any ideas?
thanks,
- keith