Skip to content

Commit

Permalink
Use phpmailer/phpmailer instead of voronkovich/phpmailer-dsn
Browse files Browse the repository at this point in the history
  • Loading branch information
voronkovich committed Mar 12, 2023
1 parent f0a3ca2 commit 4933808
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 21 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
}
],
"require": {
"voronkovich/phpmailer-dsn": "^0.0.1"
"phpmailer/phpmailer": "^6.8.0"
}
}
70 changes: 52 additions & 18 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions mailerdsn.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Mailer DSN
* Plugin URI: https://github.com/voronkovich/wordpress-mailer-dsn
* Description: Configure wp_mail() via MAILER_DSN environment variable
* Version: 0.0.5
* Version: 0.0.6
* License: MIT
* License URI: https://github.com/voronkovich/wordpress-mailer-dsn/blob/main/LICENSE
* Author: Oleg Voronkovich <[email protected]>
Expand All @@ -13,7 +13,7 @@

defined('ABSPATH') || exit;

use Voronkovich\PHPMailerDSN\DSNConfigurator;
use PHPMailer\PHPMailer\DSNConfigurator;

add_action('phpmailer_init', function ($phpmailer) {
static $configurator = null;
Expand Down

0 comments on commit 4933808

Please sign in to comment.