Download the PHP package floriansemm/official-library-php-email-parser without Composer

On this page you can find all versions of the php package floriansemm/official-library-php-email-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package official-library-php-email-parser

PLANCAKE PHP EMAIL PARSER

N.B.: if you deal with non-English languages, we recommend you install the IMAP PHP extension: the Plancake PHP Email Parser will detect it and used it automatically for better results.

This library allows you to easily parse an email given its content (headers + body).

Usage example:

$emailPath = "/var/mail/spool/dan/new/12323344323234234234"; $emailParser = new PlancakeEmailParser(file_get_contents($emailPath));

// You can use some predefined methods to retrieve headers... $emailTo = $emailParser->getTo(); $emailSubject = $emailParser->getSubject(); $emailCc = $emailParser->getCc(); // ... or you can use the 'general purpose' method getHeader() $emailDeliveredToHeader = $emailParser->getHeader('Delivered-To');

$emailBody = $emailParser->getPlainBody();

For more info: https://github.com/plancake/official-library-php-email-parser


We love to hear from you ♥. Please, send us any feedback. Even if you don't speak English, don't worry, use your native language (we have great confidence in Google Translate :-)) http://www.plancake.com/contact

Please contact us if you need any commercial support with the installation of any component or if you would like any customization: http://www.plancake.com/contact

Please consider contributing with bug fixes or improvements: [email protected]

Plancake homepage: http://www.plancake.com Support: http://www.plancake.com/forums/forum/13/support-for-developers/ Subscribe to our blog: http://www.plancake.com/blog Follow us on Twitter: http://twitter.com/plancakebakers Follow us on Facebook: http://www.facebook.com/plancake Donations ♥ : http://www.plancake.com/donate

"Plancake" and "Plancake Team" are trademarks of Daniele Occhipinti. (by the way, what about using Plancake Team for team collaboration? team.plancake.com)

Brought to you by Danyuki Software Limited, a startup tech company based in London, UK.

Happy plancaking!

Daniele Occhipinti Director and Founder of Plancake email: [email protected] skype: dan_plan (I can speak English and Italian)


All versions of official-library-php-email-parser with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package floriansemm/official-library-php-email-parser contains the following files

Loading the files please wait ....