-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use phpmailer/phpmailer instead of voronkovich/phpmailer-dsn
- Loading branch information
1 parent
f0a3ca2
commit 4933808
Showing
3 changed files
with
55 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
} | ||
], | ||
"require": { | ||
"voronkovich/phpmailer-dsn": "^0.0.1" | ||
"phpmailer/phpmailer": "^6.8.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]> | ||
|
@@ -13,7 +13,7 @@ | |
|
||
defined('ABSPATH') || exit; | ||
|
||
use Voronkovich\PHPMailerDSN\DSNConfigurator; | ||
use PHPMailer\PHPMailer\DSNConfigurator; | ||
|
||
add_action('phpmailer_init', function ($phpmailer) { | ||
static $configurator = null; | ||
|