Installation & Requirements
System Requirements
Section titled “System Requirements”- PHP:
8.4or higher (ext-opensslrecommended for TLS/SMTPS and DKIM signing) - ProcessWire:
3.0.210or higher - First-Party Module Dependencies: None (standalone
WireMailmodule) - Optional XOAUTH2 Packages: Install the matching OAuth2 client package only if you enable
OAuthProvider(Google,Microsoft,Azure, orYahoo)
Installing the Module
Section titled “Installing the Module”-
Require the package and PHPMailer v7 dependency:
Terminal window composer require trk/processwire-php-mailer -
Refresh and install
WireMailPHPMailer:Terminal window php vendor/bin/wire module:refreshphp vendor/bin/wire module:install WireMailPHPMailer
- Ensure
phpmailer/phpmailer(^7.2) is available via your project’s Composervendor/autoload.php. - Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
WireMailPHPMailer), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate
WireMailPHPMailerunder the Site tab, and click Install.
- Ensure
phpmailer/phpmailer(^7.2) is installed invendor/autoload.php. - Download and extract the release archive into
site/modules/WireMailPHPMailer/. - Open Modules -> Refresh in the ProcessWire admin (or run
php vendor/bin/wire module:refresh). - Click Install next to
WireMailPHPMailerunder Modules -> Site.
After installation, open Modules -> Configure -> WireMailPHPMailer, configure TabGeneral (default From address/name) and TabTransport (an smtp:// / smtps:// DSN or explicit SMTP host, port, encryption, username, and password), and send a test message from TabTest to verify delivery.