Download the PHP package xiaohuilam/http-mail-driver without Composer

On this page you can find all versions of the php package xiaohuilam/http-mail-driver. 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 http-mail-driver

Laravel HTTP mail driver

Latest Version on Packagist Total Downloads

This package gives your the ability to send emails via HTTP requests. This is useful for sending emails via Mailchannels and their Cloudflare Workers partnerships but can be used for other applications. Note: There is currently no support for attachments due to Mailchannels not supporting them via their transactional message api.

Installation

You can install the package via composer:

After that, please set the value HTTP_MAIL_URL in your .env file to the URL of your HTTP Mail endpoint. You should also define the HTTP_MAIL_KEY in your .env file which will be used to authenticate your requests in the Authorization header.

Optionally you can also add DKIM data, which is useful for the mailchannels integration. See the config entry for further information. Make sure this matches your mail sender configuration to avoid dmarc issues!

Next should should add the http entry to your config/mail.php file under the mailers array.

Now you can set the default mailer to http in your .env file.

Cloudflare Mailchannel integration

:warning: Mailchannels now enforces Domain Lockdown™: Please create DNS record according to their help center article!

This package was made to work in combination with the Cloudflare Worker Mailchannels partnership. To use this, deploy a worker with the code of this gist: https://gist.github.com/skyracer2012/54e85953162f24ac8f8e0a0fa747f1e3

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.


All versions of http-mail-driver with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
illuminate/support Version >=10.0
symfony/mailer Version >=6.0
guzzlehttp/guzzle Version >=7.5
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 xiaohuilam/http-mail-driver contains the following files

Loading the files please wait ....