Skip to content

Commit

Permalink
PHPMailer 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Jan 7, 2021
1 parent 8d0fde7 commit 13b6df2
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 35 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.8.0"></a>
# [1.8.0](https://github.com/flextype-plugins/phpmailer/compare/v1.7.0...v1.8.0) (2021-01-07)

### Features

* Update code base for new Icon 2.0.0

<a name="1.7.0"></a>
# [1.7.0](https://github.com/flextype-plugins/phpmailer/compare/v1.6.0...v1.7.0) (2021-01-03)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The following dependencies need to be downloaded and installed for PHP Mailer Pl
| Key | Value | Description |
|---|---|---|
| enabled | true | true or false to disable the plugin |
| priority | 80 | phpmailer plugin priority |
| priority | 100 | phpmailer plugin priority |

[Official PHP Mailer documentation](https://github.com/PHPMailer/PHPMailer)

Expand Down
30 changes: 0 additions & 30 deletions bootstrap.php

This file was deleted.

27 changes: 25 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

declare(strict_types=1);

namespace Flextype;
/**
* @link https://flextype.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

include __DIR__ . '/bootstrap.php';
namespace Flextype\Plugin\PHPMailer;

use function is_file;

/**
* Ensure vendor libraries exist
*/
! is_file($phpmailer_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for phpmailer plugin');

/**
* Register The Auto Loader
*
* Composer provides a convenient, automatically generated class loader for
* our application. We just need to utilize it! We'll simply require it
* into the script here so that we don't have to worry about manual
* loading any of our classes later on. It feels nice to relax.
* Register The Auto Loader
*/
$phpmailer_loader = require_once $phpmailer_autoload;
6 changes: 4 additions & 2 deletions plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: PHP Mailer
version: 1.7.0
version: 1.8.0
description: PHP Mailer plugins for Flextype.
icon: fas fa-envelope
icon:
name: envelope
set: "fontawesome|solid"
author:
name: Sergey Romanenko
email: support@flextype.org
Expand Down

0 comments on commit 13b6df2

Please sign in to comment.