These are chat archives for codeigniter-id/codeigniter-id.github.io
You can't do that on a localhost. You need a Mailserver to see if your code works. If you have one to test, than just use the codeigniter standard library for this. If your Webapp/demo doesn't have SSL make sure that the one you're sending the email to has you in the contact list. Otherwise it will be thrown in the spam directory.