tagadamedia / wordpress-smtp
A wordpress package to configure smtp
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/tagadamedia/wordpress-smtp
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"