PHP code example of codaxis / cakephp-mailgun
1. Go to this page and download the library: Download codaxis/cakephp-mailgun library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
codaxis / cakephp-mailgun example snippets
class EmailConfig {
public $mailgun = array(
'transport' => 'Mailgun.Mailgun',
'mg_domain' => 'my-domain.mailgun.org',
'mg_api_key' => 'my-mailgun-key'
'from' => array('[email protected]' => 'My App'),
// Custom mailgun email, e.g.:
// 'o:tag' => 'tag1',
// 'o:campaign' => 'my-campaign',
);
}