tagadamedia / wordpress-smtp
A wordpress package to configure smtp
1.0.1
2026-01-07 12:17 UTC
Requires
- php: ^8.4
- phpmailer/phpmailer: ^7.0
README
Getting started
This package set up smtp configuration
To install it, use composer
composer require tagadamedia/wordpress-smtp
Then, you need to update your project composer.json file to add a post install script as follow:
"scripts": {
"post-install-cmd": "Tagadamedia\\Smtp\\ComposerEvent::installErrorHandler"
}
and you need to run composer install
installation
in wp-config.php, you must define constants as follow:
TGD_SMTP_FROM="contact@some_domain.com"
TGD_SMTP_NAME="some_name"