Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/vitaliikaplia/kaplia-smtp/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Minimal WordPress SMTP plugin by Vitalii Kaplia.
It does one thing: configures WordPress mail to use your own SMTP server.
No ads, no usage tracking, no weekly reports, no scheduled marketing email.
Features
- SMTP host, port, encryption, username, password.
- Forced From email/name and Return-Path support.
- Test email from the settings page.
- Optional debug logging to the PHP error log.
- Import from old WP Base theme SMTP options.
- Automatic import from WP Mail SMTP and deactivation of WP Mail SMTP / WP Mail SMTP Pro.
- Optional
KAPLIA_SMTP_*constants for project-level config.
Constants
These constants can be defined in wp-config.php and override saved settings:
define( 'KAPLIA_SMTP_ENABLED', true );
define( 'KAPLIA_SMTP_HOST', 'smtp.example.com' );
define( 'KAPLIA_SMTP_PORT', 587 );
define( 'KAPLIA_SMTP_ENCRYPTION', 'tls' ); // tls, ssl, none
define( 'KAPLIA_SMTP_AUTH', true );
define( 'KAPLIA_SMTP_USERNAME', 'mail@example.com' );
define( 'KAPLIA_SMTP_PASSWORD', 'secret' );
define( 'KAPLIA_SMTP_FROM_EMAIL', 'mail@example.com' );
define( 'KAPLIA_SMTP_FROM_NAME', 'Example Site' );
define( 'KAPLIA_SMTP_FORCE_FROM', true );
define( 'KAPLIA_SMTP_RETURN_PATH', true );
define( 'KAPLIA_SMTP_ALLOW_SELF_SIGNED_LOCAL', true );
define( 'KAPLIA_SMTP_DEBUG', false );
Development
composer install