News Feed
Jobs Feed
Sections




News Archive
PHPMaster.com:
Exploring PHP's IMAP Library, Part 2
October 04, 2012 @ 10:36:22

PHPMaster.com has published the second part of their series taking you on a tour through PHP's IMAP extension and its use. In part one they introduced the extension and showed how to connect, get the folders/emails and view message contents. In this part they expand n that and show you how to work with the messages and attachments.

In the first part of this series I discussed how to connect to IMAP servers using PHP's IMAP extension. In this part we'll complete the series by discussing working with folders and reading email content. Let's get started!

He shows how to work with the "flags" set on messages (read, unread, replied, etc) - pulling them from the server and using the imap_setflag_full function to set them. There's a quick mention of deleting messages with imap_delete/imap_expunge and a section on viewing and downloading the attachments to messages.

0 comments voice your opinion now!
imap library extension tutorial series attachment flags delete


blog comments powered by Disqus

Similar Posts

Shameer's Blog: PHP 5.3 : Practical look into Lambda functions and closures

NetTuts.com: Setting Up A Staging Environment

EasyPHPWebsites.com: Creating a Website Visitor Map (Ajax, jQuery, Google Maps API)

php|architect: Two New ART Articles (CakePHP and More Flex)

Matthew Weir O'Phinney's Blog: Phly_Struct? no, Phly_Hash...


Community Events











Don't see your event here?
Let us know!


api opinion database composer functional release podcast introduction series community testing framework application zendframework2 interview language development code example phpunit

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework