2017 © Pedro Peláez
 

library fetch

A PHP IMAP Library

image

gtunes/fetch

A PHP IMAP Library

  • Friday, August 15, 2014
  • by gtunes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 153 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Fetch

Fetch is a library for reading email and attachments, primarily using the POP and IMAP protocols., (*1)

Fetch was part of a large project, Mortar, which is hosted on Google Code. It is currently being migrated over to Github, as well as being updated to support modern php features. While the project is in flux I encourage you to try it out, but be careful about using it in a production environment without proper testing., (*2)

Installation

The most easy way to install the library is via composer. To do so, you have to do the following:, (*3)

php composer.phar require tedivm/fetch

Composer will then ask you which version you want to install. Until there are stable versions, by using "@dev" it'll install the latest version., (*4)

Sample Usage

This is just a simple code to show how to access messages by using Fetch. It uses Fetch own autoload, but it can (and should be, if applicable) replaced with the one generated by composer., (*5)

require 'autoload.php';

$server = new \Fetch\Server('imap.example.com', 993);
$server->setAuthentication('dummy', 'dummy');


$messages = $server->getMessages();
/** @var $message \Fetch\Message */
foreach ($messages as $message) {
    echo "Subject: {$message->getSubject()}\nBody: {$message->getMessageBody()}\n";
}

The Versions

15/08 2014

dev-master

9999999-dev http://github.com/gtunes/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

28/07 2013

v0.4.4

0.4.4.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

12/07 2013

v0.4.3

0.4.3.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

01/07 2013

v0.4.2

0.4.2.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0
  • ext-imap *

 

by Robert Hafner

email imap pop3

26/11 2012

v0.4.1

0.4.1.0 http://github.com/tedivm/Fetch

A PHP IMAP Library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Robert Hafner

email imap pop3