This post is about CodeIgniter Email Class, Sending Emails in Codeigniter App is not a tedious Task,it is very simple and easy with few lines of code, you can set config options on fly, or you can set config options of email library globally(
CodeIgniter’s Email Class features:
- Multiple Protocols: Mail, Sendmail, and SMTP
- Multiple recipients
- CC and BCCs
- HTML or Plaintext email
- Word wrapping
- BCC Batch Mode, enabling large email lists to be broken into small BCC batches.
- Email Debugging tools
for more information visit Codeigniter official Docs http://ellislab.com/codeigniter/user-guide/libraries/email.html
Now I will explain how to send email using PHP and CodeIgniter Framework,you must load email library in order to send emails.
How to Load Email Library
How to send a HTML emails
How to send HTML mail
CodeIgniter Email errors and debugging
I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.
I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.