Title: Config Email SMTP
Author: Nikos Roussos
Published: <strong>September 3, 2023</strong>
Last modified: June 4, 2026

---

Search plugins

![](https://ps.w.org/config-email-smtp/assets/icon.svg?rev=2962186)

# Config Email SMTP

 By [Nikos Roussos](https://profiles.wordpress.org/comzeradd/)

[Download](https://downloads.wordpress.org/plugin/config-email-smtp.0.6.0.zip)

 * [Details](https://wordpress.org/plugins/config-email-smtp/#description)
 * [Reviews](https://wordpress.org/plugins/config-email-smtp/#reviews)
 *  [Installation](https://wordpress.org/plugins/config-email-smtp/#installation)
 * [Development](https://wordpress.org/plugins/config-email-smtp/#developers)

 [Support](https://wordpress.org/support/plugin/config-email-smtp/)

## Description

This plugin is relying just on your `wp-config.php` file. It uses smtp connection
details you will set up there to configure WordPress to relay all outgoing emails
through that email server.

#### Background

There are plenty of similar type of plugins out there. Most of them are not focused
on relaying emails to an SMTP server, but rather supporting specific mail services.

But the main incentive for this was the fact that the [official WordPress docker image](https://hub.docker.com/_/wordpress)
doesn’t have support for sending out emails (eg. “forgot password”).

## Installation

All you have to do is copy-paste the lines below at your `wp-config.php` and adjust
the variables
 with the proper values for the SMTP server you want to use.

    ```
    `
    ```

/* SMTP configuration */
 define(‘SMTP_HOST’, ‘mail.example.com’); // Mail server
hostname define(‘SMTP_PORT’, 25); // SMTP port number (25, 465 or 587) define(‘SMTP_SECURE’,‘
ssl’); // Encryption system to use (ssl or tls) define(‘SMTP_USERNAME’, ‘myusername’);//
SMTP Authentication Username define(‘SMTP_PASSWORD’, ‘mypassword’); // SMTP Authentication
Password define(‘SMTP_FROMMAIL’, ‘noreply@example.com’); // From email address define(‘
SMTP_FROMNAME’, ‘WordPress’); // From email name `

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Config Email SMTP” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Nikos Roussos ](https://profiles.wordpress.org/comzeradd/)

“Config Email SMTP” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/config-email-smtp/contributors)
for their contributions.

[Translate “Config Email SMTP” into your language.](https://translate.wordpress.org/projects/wp-plugins/config-email-smtp)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/config-email-smtp/),
check out the [SVN repository](https://plugins.svn.wordpress.org/config-email-smtp/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/config-email-smtp/)
by [RSS](https://plugins.trac.wordpress.org/log/config-email-smtp/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.6.0**
 *  Last updated **2 months ago**
 *  Active installations **10+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0.2**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/config-email-smtp/) and [Greek](https://el.wordpress.org/plugins/config-email-smtp/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/config-email-smtp)
 * Tags
 * [email](https://wordpress.org/plugins/tags/email/)[smtp](https://wordpress.org/plugins/tags/smtp/)
 *  [Advanced View](https://wordpress.org/plugins/config-email-smtp/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/config-email-smtp/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/config-email-smtp/reviews/)

## Contributors

 *   [ Nikos Roussos ](https://profiles.wordpress.org/comzeradd/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/config-email-smtp/)