forked from tedious/Fetch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The minimum version of php 5.4 - Add rawBody in Message - Add changelog.md - README.md rename README_EN.md. Add README.md - russian - Merge pull request [tedious#147](tedious#147) from linniksa/patch-mime-decoder - Changes from the pull request [tedious#151](tedious#151)
- Loading branch information
Showing
13 changed files
with
555 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
apexwire/fetch changelog | ||
--------------------------- | ||
|
||
## Under development | ||
|
||
|
||
## v0.7.2 on 2016.04.15 | ||
|
||
- The minimum version of php 5.4 | ||
- Add rawBody in Message | ||
- Add changelog.md | ||
- README.md rename README_EN.md. Add README.md - russian | ||
- Merge pull request [#147](https://github.com/tedious/Fetch/pull/147) from linniksa/patch-mime-decoder | ||
- Changes from the pull request [#151](https://github.com/tedious/Fetch/pull/151) | ||
|
||
## v0.7.1 on 2 Aug 2015 | ||
|
||
- Merge pull request [#145](https://github.com/tedious/Fetch/pull/145) from tedious/supress_php_warning | ||
- Suppressed imap_open warning | ||
|
||
## v0.6.1 on 8 Jan 2015 | ||
|
||
- Merge pull request [#109](https://github.com/tedious/Fetch/pull/109) from tedious/release-0.6.1 | ||
- Changed function names for cs consistency | ||
|
||
|
||
## v0.5.3 on 14 Mar 2014 | ||
|
||
- Merge pull request [#40](https://github.com/tedious/Fetch/pull/40) from bjornpost/fix-multipart-messagebody | ||
- In a multipart email messageBody() keeps headers | ||
|
||
|
||
## v0.5.2 on 21 Jan 2014 | ||
|
||
- Merge pull request [#33](https://github.com/tedious/Fetch/pull/33) from tedivm/testing_update | ||
- Separate Mail Server Setup into Development Package | ||
|
||
|
||
## v0.5.1 on 19 Dec 2013 | ||
|
||
- Removed autoloader reference | ||
|
||
|
||
## v0.4.5 on 1 Dec 2013 | ||
|
||
- Merge pull request [#27](https://github.com/tedious/Fetch/pull/27) from ArabCoders/master | ||
- fixed bug in getting reply_to addresses | ||
|
||
|
||
## v0.4.4 on 28 Jul 2013 | ||
|
||
- Merge pull request [#19](https://github.com/tedious/Fetch/pull/19) from codyfletcher/master | ||
- Added support for "bcc" as a type of processed object. | ||
|
||
|
||
## v0.4.3 on 12 Jul 2013 | ||
|
||
- Merge pull request [#17](https://github.com/tedious/Fetch/pull/17) from abimus/fix/flags | ||
- Fix behavior on Server::setFlag() | ||
|
||
|
||
## v0.4.2 on 2 Jul 2013 | ||
|
||
- Added bug fixed. | ||
|
||
## v0.4.1 on 26 Nov 2012 | ||
|
||
- First release since migrating to github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,50 @@ | ||
# Fetch [](https://travis-ci.org/tedious/Fetch) | ||
Fetch | ||
===== | ||
|
||
[](https://github.com/tedious/fetch/blob/master/LICENSE) | ||
[](https://packagist.org/packages/tedivm/fetch) | ||
[](https://coveralls.io/r/tedious/Fetch?branch=master) | ||
[](https://packagist.org/packages/tedivm/fetch) | ||
**Fetch это библиотека для чтения электронной почты и вложений, по протоколам POP и IMAP.** | ||
|
||
Fetch is a library for reading email and attachments, primarily using the POP | ||
and IMAP protocols. | ||
## Установка | ||
|
||
Предпочтительный способ установки расширения через [composer](http://getcomposer.org/download/). | ||
|
||
## Installing | ||
> N.b. A note on Ubuntu 14.04 (probably other Debian-based / Apt managed systems), the install of php5-imap does not enable the extension for CLI (possibly others as well), which can cause composer to report fetch requires ext-imap | ||
``` | ||
sudo ln -s /etc/php5/mods-available/imap.ini /etc/php5/cli/conf.d/30-imap.ini | ||
``` | ||
Запустить | ||
|
||
### Composer | ||
|
||
Installing Fetch can be done through a variety of methods, although Composer is | ||
recommended. | ||
|
||
Until Fetch reaches a stable API with version 1.0 it is recommended that you | ||
review changes before even Minor updates, although bug fixes will always be | ||
backwards compatible. | ||
|
||
``` | ||
"require": { | ||
"tedivm/fetch": "0.6.*" | ||
} | ||
```sh | ||
php composer.phar require "apexwire/fetch" : "^0.7.2" | ||
``` | ||
|
||
### Pear | ||
или добавить | ||
|
||
Fetch is also available through Pear. | ||
|
||
``` | ||
$ pear channel-discover pear.tedivm.com | ||
$ pear install tedivm/Fetch | ||
```json | ||
"apexwire/fetch": "^0.7.2" | ||
``` | ||
|
||
### Github | ||
|
||
Releases of Fetch are available on [Github](https://github.com/tedious/Fetch/releases). | ||
в разделе "require" вашего composer.json | ||
|
||
## Применение | ||
|
||
## 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. | ||
|
||
Это лишь простой код, чтобы показать, как получить доступ к сообщениям с помощью Fetch. Он использует Fetch | ||
собственный автозагрузка, но он может (и должен быть, если это применимо) заменяется генерируемому | ||
композитором. | ||
|
||
```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"; | ||
} | ||
``` | ||
|
||
## Лицензия | ||
|
||
Этот проект был выпущен под лицензией [BSD-3-Clause](LICENSE). | ||
Подробнее [тут](http://choosealicense.com/licenses/bsd-3-clause). | ||
|
||
Copyright © 2016, ApexWire | ||
|
||
## License | ||
## Выражение признательности | ||
|
||
Fetch is licensed under the BSD License. See the LICENSE file for details. | ||
- Проект является форком [Fetch](https://github.com/tedious/Fetch). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Fetch [](https://travis-ci.org/tedious/Fetch) | ||
|
||
[](https://github.com/tedious/fetch/blob/master/LICENSE) | ||
[](https://packagist.org/packages/tedivm/fetch) | ||
[](https://coveralls.io/r/tedious/Fetch?branch=master) | ||
[](https://packagist.org/packages/tedivm/fetch) | ||
|
||
Fetch is a library for reading email and attachments, primarily using the POP | ||
and IMAP protocols. | ||
|
||
|
||
## Installing | ||
> N.b. A note on Ubuntu 14.04 (probably other Debian-based / Apt managed systems), the install of php5-imap does not enable the extension for CLI (possibly others as well), which can cause composer to report fetch requires ext-imap | ||
``` | ||
sudo ln -s /etc/php5/mods-available/imap.ini /etc/php5/cli/conf.d/30-imap.ini | ||
``` | ||
|
||
### Composer | ||
|
||
Installing Fetch can be done through a variety of methods, although Composer is | ||
recommended. | ||
|
||
Until Fetch reaches a stable API with version 1.0 it is recommended that you | ||
review changes before even Minor updates, although bug fixes will always be | ||
backwards compatible. | ||
|
||
``` | ||
"require": { | ||
"tedivm/fetch": "0.6.*" | ||
} | ||
``` | ||
|
||
### Pear | ||
|
||
Fetch is also available through Pear. | ||
|
||
``` | ||
$ pear channel-discover pear.tedivm.com | ||
$ pear install tedivm/Fetch | ||
``` | ||
|
||
### Github | ||
|
||
Releases of Fetch are available on [Github](https://github.com/tedious/Fetch/releases). | ||
|
||
|
||
## 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. | ||
|
||
|
||
$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"; | ||
} | ||
|
||
|
||
## License | ||
|
||
Fetch is licensed under the BSD License. See the LICENSE file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
{ | ||
"name": "tedivm/fetch", | ||
"name": "apexwire/fetch", | ||
"description": "A PHP IMAP Library", | ||
"keywords": ["email","imap","pop3"], | ||
"homepage": "http://github.com/tedious/Fetch", | ||
"homepage": "http://github.com/apexwire/Fetch", | ||
"type": "library", | ||
"license": "BSD-3-Clause", | ||
"authors": [ | ||
{ | ||
"name": "Robert Hafner", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "ApexWire", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.3.0", | ||
"php": ">=5.4.0", | ||
"ext-imap": "*" | ||
}, | ||
"require-dev": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.