CodeIgniter Forums
Test email on localhost - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: Test email on localhost (/showthread.php?tid=62962)



Test email on localhost - Wouter60 - 09-12-2015

My application is sending emails (from a few specific functions in my controllers).
To generate the email, I use a set of views (template with header, main_content and footer), and I pass a $data array to it.
How can I be sure the emails are correct, BEFORE I publish my website online?
Is there a way to test this? If so, which settings do I have to use?


RE: Test email on localhost - InsiteFX - 09-12-2015

Test Mail Server Tool

You will need to setup your php.ini file to use smtp mail protocol.

I use my hosting providers ( Comcast )


RE: Test email on localhost - asimjan - 09-17-2015

You need to download php mailer


RE: Test email on localhost - musheertm - 09-17-2015

use system Email library with stmp settings.