Title: CodingBunny Mail SMTP
Author: CodingBunny
Published: <strong>2026-01-28</strong>
Last modified: 2026-10-20

---

Szukaj wtyczek

![](https://ps.w.org/coding-bunny-mail-smtp/assets/banner-772x250.png?rev=3723046)

![](https://ps.w.org/coding-bunny-mail-smtp/assets/icon-256x256.png?rev=3448496)

# CodingBunny Mail SMTP

 Autor: [CodingBunny](https://profiles.wordpress.org/codingbunny/)

[Pobierz](https://downloads.wordpress.org/plugin/coding-bunny-mail-smtp.1.0.7.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/coding-bunny-mail-smtp/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/coding-bunny-mail-smtp/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/coding-bunny-mail-smtp/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/coding-bunny-mail-smtp/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/coding-bunny-mail-smtp/)

## Opis

CodingBunny Mail SMTP allows you to easily configure an SMTP server to send all 
outgoing emails from your WordPress website.

By default, WordPress uses the `wp_mail()` function which relies on the server’s
PHP mail configuration. This often leads to delivery issues or emails ending up 
in spam. This plugin solves that problem by routing emails through a reliable SMTP
server.

### Key Features

 * Enable or disable SMTP with a single toggle
 * Presets for the most common mail providers
 * Supports SSL, TLS, or no encryption
 * SMTP port suggested automatically based on the encryption type
 * Optional SMTP authentication (username & password)
 * Secure password storage using encryption
 * Settings can be defined as constants in wp-config.php
 * Custom „From Email” and „From Name”
 * Built-in test email tool
 * SPF, DKIM and DMARC check of the sender domain
 * Failed emails log with configurable retention
 * Lightweight, no third-party dependencies
 * Fully compatible with WordPress PHPMailer
 * Clean and accessible admin interface

### Security

The SMTP password is encrypted with authenticated AES-256-GCM before being stored
in the database and is never displayed in plain text in the WordPress admin area.
For maximum security, you can define it as a constant in wp-config.php so that it
is never stored in the database at all.

### Configuration

You can configure the following options:

 * SMTP Host (e.g. `smtp.example.com`)
 * SMTP Port (e.g. `587`)
 * Encryption: None, TLS, or SSL
 * Enable/Disable SMTP authentication
 * SMTP Username & Password
 * Sender Email Address
 * Sender Name

After saving, use the Test Email section to verify your configuration.

### Configuration via wp-config.php

Every setting can also be defined as a constant in `wp-config.php`. Constants take
priority over the values saved in the admin area, and the related fields are shown
as read-only.

 * `define( 'CODINGBUNNY_MAIL_SMTP_ENABLED', true );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_HOST', 'smtp.example.com' );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_PORT', 587 );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_ENCRYPTION', 'tls' );` (`none`, `tls` or `ssl`)
 * `define( 'CODINGBUNNY_MAIL_SMTP_AUTH', true );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_USERNAME', 'user@example.com' );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_PASSWORD', 'your-password' );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_FROM_EMAIL', 'noreply@example.com' );`
 * `define( 'CODINGBUNNY_MAIL_SMTP_FROM_NAME', 'My Website' );`

You can define only the constants you need: the remaining settings are read from
the admin area.

### Uninstall

When the plugin is uninstalled, all plugin options (including encrypted credentials
and the failed emails log) are removed from the database.

## Zrzuty ekranu

[[

[[

[[

[[

## Instalacja

 1. Upload the `codingbunny-mail-smtp` folder to the `/wp-content/plugins/` directory
    
    or
 2. Install the plugin via the WordPress Plugins screen
 3. Activate the plugin through the **Plugins** menu in WordPress
 4. Go to **Settings  CodingBunny Mail SMTP**
 5. Configure your SMTP details and save

## Najczęściej zadawane pytania

### Does this plugin replace wp_mail()?

Yes. The plugin hooks into WordPress PHPMailer and sends all emails via SMTP when
enabled.

### Is the SMTP password secure?

Yes. The password is encrypted using WordPress salts and OpenSSL before being stored.
You can also define it in wp-config.php so that it is never stored in the database.

### What happens if I leave the password field empty?

The existing password will not be overwritten.

### Can I define the settings in wp-config.php?

Yes. See the „Configuration via wp-config.php” section for the full list of supported
constants.

### What does the failed emails log store?

Only the date, recipients, subject and error message of emails that WordPress failed
to send. The message content is never stored. Entries are deleted automatically 
after the retention period (30 days by default, maximum 100 entries), and you can
clear the log or disable it at any time.

### Can I disable SMTP temporarily?

Yes. Simply disable the „Enable SMTP” toggle.

### Does this plugin conflict with other mail plugins?

It is recommended to use only one SMTP/mail plugin at a time.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„CodingBunny Mail SMTP” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

 *   [ CodingBunny ](https://profiles.wordpress.org/codingbunny/)

[Przetłumacz wtyczkę “CodingBunny Mail SMTP” na swój język.](https://translate.wordpress.org/projects/wp-plugins/coding-bunny-mail-smtp)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/coding-bunny-mail-smtp/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/coding-bunny-mail-smtp/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/coding-bunny-mail-smtp/)
przez [RSS](https://plugins.trac.wordpress.org/log/coding-bunny-mail-smtp/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.7 – 10/20/2026

 * New: Mail provider presets (Aruba, Register.it, IONOS, SiteGround, Gmail / Google
   Workspace, Microsoft 365, Brevo, SendGrid, Mailgun) that fill in host, port and
   encryption and show provider-specific tips
 * New: DNS Check section that verifies the SPF, DKIM and DMARC records of the sender
   domain with a green / yellow / red status
 * Improved: The SMTP password is now encrypted with authenticated AES-256-GCM and
   no longer depends on the site URL; existing passwords are upgraded automatically
 * Fix: Emails are no longer rejected when the „From Email” uses a different domain
   than the SMTP account (e.g. @gmail.com): the SMTP account is used as sender and
   the „From Email” becomes the Reply-To address
 * Fix: The envelope sender (Return-Path) now always matches the authenticated SMTP
   account
 * New: Filters `codingbunny_mail_smtp_force_account_sender`, `codingbunny_mail_smtp_providers`
   and `codingbunny_mail_smtp_free_mailbox_domains`
 * Fix: The test email result is now shown inside the Test Email section, even when
   the SMTP server does not respond or admin notices are hidden
 * New: The test result shows whether the email was sent via SMTP or PHP mail(),
   the server used, the sender and the SMTP server responses
 * Fix: „None” encryption no longer attempts STARTTLS automatically
 * Improved: SMTP connection timeout reduced to 15 seconds (filterable via `codingbunny_mail_smtp_timeout`)

#### 1.0.6 – 09/29/2026

 * Improved: Redesigned admin interface, consistent with the other CodingBunny plugins
 * New: Sidebar navigation with separate sections for SMTP settings, test email 
   and failed emails log
 * New: Status panel showing whether SMTP is enabled, the server in use, the encryption
   and the sender address
 * New: The number of failed emails is shown next to the log section
 * Improved: After sending a test email or clearing the log you return to the same
   section

#### 1.0.5 – 09/27/2026

 * New: SMTP settings can be defined as constants in wp-config.php
 * New: The SMTP port is suggested automatically when the encryption type changes
 * New: Failed emails log with configurable retention and automatic daily cleanup
 * Fix: Saving the settings without re-entering the password no longer overwrites
   the stored SMTP password
 * Fix: Invalid border value in the admin button styles
 * Improved: SMTP port and encryption values are validated when saving
 * Improved: All admin buttons and toggles are keyboard-accessible

#### 1.0.4 – 08/28/2026

 * Updated: CodingBunny Mail SMTP is now tested up to WordPress 7.1

#### 1.0.3 – 03/06/2026

 * Updated: CodingBunny Mail SMTP is now tested up to WordPress 7
 * Improved: Added placeholder in the password field when it is set
 * Improved: Improved error handling
 * Improved: Optimized the sending of test emails
 * Improved: Improved compatibility with SMTP servers
 * Improved: Improved password security

#### 1.0.2 – 01/28/2026

 * Fix: Fixed a bug that deleted the test email when saving settings
 * Fix: Fixed a bug that prevented the Sender Name from working if the Sender Email
   was not set

#### 1.0.1 – 01/28/2026

 * Fix: Fixed test email saving error

#### 1.0.0 – 01/27/2026

 * New: Initial Release

## Meta

 *  Wersja **1.0.7**
 *  Ostatnia aktualizacja **3 tygodnie temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 6.0 lub nowszej **
 *  Testowano do **7.1.4**
 *  Wersja PHP ** 8.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/coding-bunny-mail-smtp/)
 * Tagi
 * [email](https://pl.wordpress.org/plugins/tags/email/)[mail](https://pl.wordpress.org/plugins/tags/mail/)
   [phpmailer](https://pl.wordpress.org/plugins/tags/phpmailer/)[smtp](https://pl.wordpress.org/plugins/tags/smtp/)
   [wp_mail](https://pl.wordpress.org/plugins/tags/wp_mail/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/coding-bunny-mail-smtp/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/coding-bunny-mail-smtp/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/coding-bunny-mail-smtp/reviews/)

## Zaangażowani

 *   [ CodingBunny ](https://profiles.wordpress.org/codingbunny/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/coding-bunny-mail-smtp/)