email - mail codeigniter was sent,but not found in inbox -


i testing send email using codeigniter , send email,but when checked inbox,i didn't find email send before.

here's controller:

 $this->load->library('email');   $this->email->from('email@yahoo.com', 'my name'); $this->email->to('email@yahoo.com');  $this->email->subject('email test');  $this->email->message('testing email class.');  $this->email->send();          echo $this->email->print_debugger(); 

success message:

your message has been sent using following protocol: mail     from: "xxxxxxxxxxxxxx"    return-path:    reply-to: "xxxxxxx@yahoo.com"   x-sender: xxxxxxx@yahoo.com x-mailer: codeigniter x-priority: 3 (normal) message-id: <xxxxxxx@yahoo.com> mime-version: 1.0 content-type: text/plain; charset=utf-8 content-transfer-encoding: 8bit =?utf-8?q?email_test?= testing email class. 

you may check spam folder in email account. gmail/yahoo set email spam when mail send local server.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -