codaxis/cakephp-mailgun

There is no license information available for the latest version (1.0) of this package.
Maintainers

👁 codaxis

Package info

github.com/ajfranzoia/cakephp-mailgun

Type:cakephp-plugin

pkg:composer/codaxis/cakephp-mailgun

Statistics

Installs: 3 390

Dependents: 0

Suggesters: 0

Stars: 9

Open Issues: 1

1.0 2014-06-12 17:48 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unknown License 05c711a8ef0cf92d3e712817cdede6c3ef967844

This package is not auto-updated.

Last update: 2026-06-16 14:22:56 UTC


README

Allows sending emails via Mailgun by using the provided SDK.

Supports email parameters listed in http://documentation.mailgun.com/api-sending.html#sending.

Requirements

  • PHP 5.4 or later
  • Composer

Installation

  • Install with composer by running composer require codaxis/cakephp-mailgun:1.*
  • Include the plugin in your bootstrap's CakePlugin::load('Mailgun') or CakePlugin::loadAll()

Example of configuration

<?php

class EmailConfig {

 public $mailgun = array(
 'transport' => 'Mailgun.Mailgun',
 'mg_domain' => 'my-domain.mailgun.org',
 'mg_api_key' => 'my-mailgun-key'
		'from' => array('no-reply@my-app.com' => 'My App'),

		// Custom mailgun email, e.g.:
 // 'o:tag' => 'tag1',
 // 'o:campaign' => 'my-campaign',
 );
}