Sending email with gmail smtp with codeigniter email library Using SMTP server is always a good idea to send email from the codeigniter. while sending email without smtp(mail()), it may chance to deliver email to the spam folder. To avoid this issue SMTP is an better way to send an email. CodeIgniter have a