-
Notifications
You must be signed in to change notification settings - Fork 5
Settings Overriding
Casey edited this page Jan 23, 2022
·
1 revision
This plugin supports being overridden by DEFINE, so please check to see that you are not setting a define for a WP Simple SMTP option. These are most commonly stored in the wp-config.php file.
These can be either stored in your systems env setup, or in wp-config.php as:
define( 'SEE_BELOW', 'your_value_here' );
Variable | Type | Description |
---|---|---|
SMTP_HOST |
string | Mail server hostname. |
SMTP_PORT |
integer | Port address (usually 25, 465 or 587). |
SMTP_AUTH |
integer | Pass below credentials to your mail server. |
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 (accepts 'def' (default), 'ssl' and 'tls'). |
SMTP_NOVERIFYSSL |
boolean | (boolean) Disable validation of the SMTP server certificate (not recommended). |
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. |
The over-ride hierarchy is as follows, with top being the most important.
- Environmental variable.
- Constant variable (wp-config define).
- Multisite network settings.
- Locally-configured settings.