Plugin Name: | Custom Configuration Settings for SMTP Email |
Current Version: | 3.4.1 |
Last Updated: | July 21, 2021 |
Tested Up To: | 5.8 |
Custom Configuration Settings for SMTP Email
$24.99
This plugin sets and configures SMTP email (edit with username and password) by allowing the user to customize their sender email, return path and sender name.
- Set SMTP and connect to mail server — Added 2.0.0
- Set from address — Included since 1.0.0, Updated 3.4.0
- Set sender name to site name — Included since 1.0.0, Updated 3.4.0
- Set sender address — Added 2.2.2
The sender from name has been included to override plugins that hardcode the admin email address as the sender name.
Copy the below variables to your wp-config file and adjust to your needs
// CUSTOM EMAIL
define(‘EDL_SMTP_HOST’, ‘smtp-relay.gmail.com’); // The hostname of the mail server
define(‘EDL_SMTP_AUTH’, false); // Use SMTP authentication (true|false)
define(‘EDL_SMTP_PORT’, ‘587’); // SMTP port number – likely to be 25, 465 or 587
define(‘EDL_SMTP_USER’, ‘example@example.com’); // Username to use for SMTP authentication (only if auth set to true)
define(‘EDL_SMTP_PASSWORD’, ‘xxxxxxxxxxxxxxxx’); // Password to use for SMTP authentication (only if auth set to true)
define(‘EDL_SMTP_SECURE’, ‘tls’); // Encryption system to use – ssl or tls
define(‘EDL_EMAIL_DOMAIN’, ‘example.com’);
define(‘EDL_MAIL_FROM’, ‘no_reply@example.com’);
define(‘EDL_MAIL_FROM_NAME’, ‘Sender’);
The from address has logic to override bad email domains when your site is on a subdomain
Installation
Manual Upload via WordPress Admin
If you have a copy of the plugin as a zip file, you can manually upload it and install it through the Plugins admin screen.
- Navigate to Plugins > Add New.
- Click the Upload Plugin button at the top of the screen.
- Select the zip file from your local filesystem.
- Click the Install Now button.
- When installation is complete, you’ll see “Plugin installed successfully.” Click the Activate Plugin button at the bottom of the page.
Manual Plugin Installation
In rare cases, you may need to install a plugin by manually transferring the files onto the server. This is recommended only when absolutely necessary, for example when your server is not configured to allow automatic installations.
This procedure requires you to be familiar with the process of transferring files using an SFTP client.
Warning: this process may put your site at risk if you install a WordPress plugin incompatible with the current version or from an unreliable source. Back up your site completely before proceeding.
- If your plugin is in the form of a zip file, unzip the contents. You should see a single folder named after the plugin.
- Look in the plugin folder for a readme.txt file. Read the file to confirm that this is the correct plugin, and to look for any special instructions.
- Connect to your WordPress server with your SFTP client.
- Copy the plugin folder to the wp-content/plugins folder in your WordPress directory. This installs the plugin to your WordPress site.
- Navigate to your Plugins admin screen and locate the newly uploaded plugin in the list.
- Click the plugin’s “Activate” link.
- If there is one, click the plugin’s “View details” link to learn more about the plugin.
Must-Use Plugins
You can install this plugin as must-use. Must-use plugins can’t be deactivated using the Plugins screen.
WordPress loads these plugins before normal plugins, which means that code and hooked functions registered in a must-use plugin can be assumed available to all other plugins.
Refund Policy
We stand behind our plugin’s quality and your satisfaction with it is important to us. However, because it’s a digital good, delivered via download, we generally offer no refunds.
If you change your mind about your purchase and have not yet downloaded our plugin, we will happily issue a full refund upon your request over the next 14 days.
Refund requests made after downloading the plugin are handled on a case by case basis and are issued at our sole discretion. Refund requests, if any, must be made within 14 days of your original purchase.