CodeIgniter Forums
How to setup IMAP in CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: How to setup IMAP in CodeIgniter (/showthread.php?tid=83063)



How to setup IMAP in CodeIgniter - SandrilaFriman - 09-15-2022

How can I setup IMAP in CodeIgniter. For now, I'm using just pure php. But I need to change as CodeIgniter Standard. Please help me. Here is my IMAP Setup with Pure php

// Connect to gmail
                    $hostname = '{imap.gmail.com:993/ssl/novalidate-cert}[Gmail]/All Mail';
                    $username = 'my email';
                    $password = 'my password';