koldy / phpmailer
An extension to Koldy Framework that brings integration for PHPMailer
Installs: 87
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/koldy/phpmailer
Requires
- php: >=8.1
- koldy/framework: ^3.0.0
- phpmailer/phpmailer: v6.6.0
This package is auto-updated.
Last update: 2025-09-27 04:35:33 UTC
README
Use this package to integrate PHPMailer with your project built on top of Koldy Framework. Minimum PHP version is PHP 8.1.
composer require koldy/phpmailer
Configuration
In your project's config folder (usually configs/mail.php), add the following block:
'phpmailer' => [ 'enabled' => true, 'adapter_class' => \KoldyPHPMailer\PHPMailer::class, 'options' => [ 'host' => 'your.domain.com', 'port' => 587, 'username' => 'your.username', 'password' => 'your.password', 'type' => 'smtp', 'adjust' => function ($phpmailer) { // optional // you can adjust the PHPMailer's instance here, for example: $phpmailer->SMTPDebug = \PHPMailer\PHPMailer\SMTP::DEBUG_SERVER; } ] ]
Licence
Open sourced and published under MIT licence.