Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 921 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 921 Bytes

IMAP Libray to CodeIgniter

This files enables you to use the IMAP protocol with the CodeIgniter Framework.

Perfect to create your own webmail.

How to use

Load the Imap library:

$this->load->library('imap');

Set the user login config:

$config = array(
			'host'     => 'imap-mail.outlook.com',
			'encrypto' => 'ssl',
			'user'     => '[email protected]',
			'pass'     => 'Abcd12345**'
		);

Initialize the connection:

$this->imap->imap_connect($config);

Get the required datas:

$folders = $this->imap->get_folders();

Output example

Output Example

Hey! Wait a minute

I am available for freelance.

Working daily with web development and server administration.

Send a message describing your project to [email protected] and we will make it happen!