PHPackages                             frootbox/mail - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. frootbox/mail

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

frootbox/mail
=============

Frootbox Mail Library

0.2(3w ago)03.1kGPL-3.0-onlyPHPPHP &gt;=8.0

Since Jun 22Pushed 3w agoCompare

[ Source](https://github.com/Frootbox/Mail)[ Packagist](https://packagist.org/packages/frootbox/mail)[ RSS](/packages/frootbox-mail/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (17)Used By (0)

Frootbox Mail
=============

[](#frootbox-mail)

Small mail abstraction around [PHPMailer](https://github.com/PHPMailer/PHPMailer).

The package provides an `Envelope` object for message data and transport classes for SMTP or local `mail()`/sendmail delivery.

Requirements
------------

[](#requirements)

- PHP 8.0 or newer
- `ext-curl`
- `phpmailer/phpmailer`
- `frootbox/config`

Installation
------------

[](#installation)

```
composer require frootbox/mail
```

Configuration
-------------

[](#configuration)

Transports expect a `Frootbox\Config\Config` instance. A config file can return a PHP array:

```
