I'm pretty noob in Codeigniter and PHP and is currently learning by making projects and such for school stuff. In my project, email is included. I wanted to know what are the things I should learn in emailing and where to start. What i know is I have to configure it first in codeigniter, I guess sending is easy because there are lots of sources on how to do it. What about receiving? Do i need a third party such as "gmail smpt" for me to do it? Do i need an online server? or can I do it locally? I did google about this "email" thing but there are so many ways to do it and its confusing me. Someone who can explain it to me slowly would be better and provide sources such as step by step tutorials to do email through sending and receiving. Thanks in advance!
Codeigniter has pretty good email system on it. You can learn so much by looking on user guide pretty easy to understand.
You can find out more by reading through the user guide http://www.codeigniter.com/user_guide/
Good tutorial how to set up email codeigniter https://www.youtube.com/watch?v=VlNz6GlSjPo
Email Class http://www.codeigniter.com/user_guide/libraries/email.html
$this->load->library('email');
$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail';
$config['charset'] = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$this->email->initialize($config);
$this->email->from('your@example.com', 'Your Name');
$this->email->to('someone@example.com');
$this->email->cc('another@another-example.com');
$this->email->bcc('them@their-example.com');
$this->email->subject('Email Test');
$this->email->message('Testing the email class.');
$this->email->send();
echo $this->email->print_debugger();