ballpumpe / wp-simple-smtp

📨 WordPress SMTP plugin. Plain and simple.

Home Page:https://wordpress.org/plugins/simple-smtp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple SMTP logo, a red envelope enclosed in a red circle

WordPress Simple SMTP

Per-commit CI Test WordPress Plugin Downloads WordPress Plugin Active Installs WordPress Plugin Rating

Adds a simple, no-fuss SMTP settings to your WordPress installation that lets you define custom settings, which is especially useful for hosts with no control over the php mail functionality.

If logging is enabled, a new segment in the settings panel will show up with a 30-day overview of recent emails, and will automatically prune older logs. Please see the FAQ if you want a more permanent solution.

For more information, please see the project wiki on GitHub.

Open in Gitpod

ℹ️ Notice on Release 1.3.2.2

You may notice there's 3 unexpected new files in the wp-simple-smtp directory:

  • DOCKER_ENV
  • docker_tag
  • output.log

These files were unfortunately introduced during the deployment pipeline, and have subsequently been packaged into the release file. I've since added these to the exclusion list, so in later deployments they won't be present.

Until next release, you can delete these files without detrimental effect. Next update should remove these anyway.

Environment and constant overriding (optional)

This plugin will prefer environmental and constant-stored values over the plugin-saved equivalent settings, making it easier to use this plugin via deployment.

These can be either stored in your systems env setup, or in wp-config.php as define( 'SEE_BELOW', 'your_value_here' );.

Accepted Parameters

Environment Type Description
SMTP_HOST string Mail server hostname.
SMTP_PORT integer Port address (usually 25, 465, or 587).
SMTP_AUTH integer (1 or 0) Pass below credentials to your mail server (1 or 0).
SMTP_USER string The mail username for this account.
SMTP_PASS string The password for the mailer account.
SMTP_FROM string Enforce all emails come from this email address.
SMTP_FROMNAME string Enforce all emails to have a certain email name.
SMTP_SEC string Use a particular email security method (def, ssl, or tls).
SMTP_NOVERIFYSSL boolean Disable validation of the SMTP server certificate.
SMTP_LOG boolean Controls the logging capability and visibility.
SMTP_DISABLE boolean Disables the mailer. They will still be logged if enabled, but won't send out.

It is recommended to store at least SMTP_PASS in your wp-config.php file (with the correct file permissions set). If the openssl extension is available, the plugin will attempt to encrypt the password in the database.

About

📨 WordPress SMTP plugin. Plain and simple.

https://wordpress.org/plugins/simple-smtp/

License:MIT License


Languages

Language:PHP 92.6%Language:JavaScript 3.0%Language:SCSS 2.6%Language:Shell 1.2%Language:Dockerfile 0.6%