2017 © Pedro Peláez
 

library mail

Library for manipulating emails.

image

phlib/mail

Library for manipulating emails.

  • Monday, March 19, 2018
  • by letssurf
  • Repository
  • 4 Watchers
  • 0 Stars
  • 447 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 7 % Grown

The README.md

phlib/mail

Code Checks Codecov Latest Stable Version Total Downloads Licence, (*1)

Classes for working with emails, (*2)

Install

Via Composer, (*3)

``` bash $ composer require phlib/mail, (*4)


## Usage ### Creating an email ``` php <?php use Phlib\Mail; // from string $email = (new Factory)->createFromString('... raw email'); // from file $email = (new Factory)->createFromFile('/path/to/file.eml');

Working with an email


/** @var Phlib\Mail\Mail $email **/ $email->getSubject(); $email->hasHeader('X-Header-Name'); $email->setReturnPath('return-path@example.com'); // raw email $email->toString();

License

This package is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version., (*5)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details., (*6)

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/., (*7)

The Versions

19/03 2018

dev-master

9999999-dev https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • ext-mailparse *
  • ext-mbstring *
  • php ^5.6|^7.0

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

19/03 2018

2.1.1

2.1.1.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.6|^7.0
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

15/03 2018

dev-trailing-newline-issue

dev-trailing-newline-issue https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.6|^7.0
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

02/11 2017

2.1.0

2.1.0.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.6|^7.0
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

15/08 2017

2.0.3

2.0.3.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.6|^7.0
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

15/08 2017

2.0.2

2.0.2.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.6|^7.0
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

15/03 2017

2.0.1

2.0.1.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.6
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

15/03 2017

2.0.0

2.0.0.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.6
  • ext-mailparse *
  • ext-mbstring *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

07/02 2017

1.0.0

1.0.0.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.6
  • ext-iconv *
  • ext-mailparse *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email

12/09 2016

0.0.1

0.0.1.0 https://github.com/phlib/mail

Library for manipulating emails.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-iconv *
  • ext-mailparse *

 

The Development Requires

by James Dempster
by Luke Richards
by Chris Minett

mail mime email