Welcome Guest, Not a member yet? Register   Sign In
Receiving IMAP & POP3
#2

Ok so i could not find any good guidance on this so I created a new class based on some online resources to pull IMAP emails(credit given in the file).  This class will extend the base email class in CI.  I have attached the MY_Email class as well as the other two classes that are needed, maybe someone else can use them.

You will need to setup the email.php config file with these options.  There are more features that need to be added but this gets me started.

Code:
$config['imap_host'] = 'xxx.xxx.xxx.xxx';
$config['imap_user'] = '[email protected]';
$config['imap_pass'] = 'Jk98S**Jlk';
$config['imap_port'] = '143';
$config['imap_mailbox'] = 'INBOX';
$config['imap_path'] = '';
$config['imap_server_encoding'] = 'utf-8';
$config['imap_attachemnt_dir'] = './tmp/';


Attached Files
.php   MY_Email.php (Size: 16.17 KB / Downloads: 347)
.php   Incoming_Mail_Attachment.php (Size: 680 bytes / Downloads: 251)
.php   Incoming_Mail.php (Size: 2.47 KB / Downloads: 270)
Reply


Messages In This Thread
Receiving IMAP & POP3 - by rfulcher - 01-02-2015, 02:42 PM
RE: Receiving IMAP & POP3 - by rfulcher - 01-04-2015, 11:04 AM
RE: Receiving IMAP & POP3 - by rfulcher - 01-21-2015, 07:34 AM
RE: Receiving IMAP & POP3 - by rfulcher - 02-07-2015, 01:38 PM
RE: Receiving IMAP & POP3 - by kabeza - 05-08-2015, 06:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB