Download the PHP package micschk/silverstripe-mailer-mailgun without Composer
On this page you can find all versions of the php package micschk/silverstripe-mailer-mailgun. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download micschk/silverstripe-mailer-mailgun
More information about micschk/silverstripe-mailer-mailgun
Files in micschk/silverstripe-mailer-mailgun
Package silverstripe-mailer-mailgun
Short Description SilverStripe Mailer for sending mail via the Mailgun API
License BSD-3-Clause
Informations about the package silverstripe-mailer-mailgun
SilverStripe Mailer for sending mail via the Mailgun API
This module lets you send SilverStripe emails through the official Mailgun PHP library, falling back to PHP's built-in sendmail()
if Mailgun is unreachable.
Requirements
- PHP 5.4+
- SilverStripe ~3.1
- Mailgun-PHP
- (optional) set up a manual cron task, or use silverstripe-crontask or silverstripe-queuedjobs(?) to keep log synced
Installation
Install with Composer. Learn how
Documentation
You will need to provide a Mailgun API key for a verified domain that you have set up in your Mailgun account.
Also, if you want to synchronize the Mailgun log, you will need to set up some way to run/ Mailgun_SyncLogTask::poll() every not and then. This gets the Mailgun events log from the API and saves it to the local database so you can see when messages got sent, openend and/or bounced etc.
Example configuration
In your project's _config/config.yml
file:
In your project's _config.php
file:
or:
All versions of silverstripe-mailer-mailgun with dependencies
silverstripe/framework Version ~3.1
mailgun/mailgun-php Version ~2.0
php-http/guzzle6-adapter Version ^1.0