Send mails throught SMTP server. Simplest option to send mail when hosting or server do not permits send mail or is missconfigured.
Send mails throught SMTP server. Simplest option to send mail when hosting or server do not permits send mail or is missconfigured.
We also could to check the SMTP options and check the native PHP mail.
This plugin adds any options to my database?
If you configure the plugin with constants in your wp-config.php file (see next FAQ), this plugin does not add any data to your database. This is the fastest option because the mail does not need to check data from your database.
If you configure the options from the WordPress admin panel, the plugin will save only one array of options in your database with all the SMTP parameters. The options array saved in your database (wp_options table) is cl_simplest_smtp_options.
Configure plugin with constants.
Configure plugin with constants is the fastest option and also avoids database queries.
We must set these constants in our wp-config.php file:
define( 'CL_SIMPLEST_SMTP_HOST', 'your-smtp-host' ); // SMTP server
define( 'CL_SIMPLEST_SMTP_AUTH', true ); // enable SMTP authentication
define( 'CL_SIMPLEST_SMTP_PORT', 587 ); // set the SMTP port
define( 'CL_SIMPLEST_SMTP_USER', 'your-smtp@user' ); // SMTP account username
define( 'CL_SIMPLEST_SMTP_PASS', 'your-smtp-password' ); // SMTP account password
define( 'CL_SIMPLEST_SMTP_SECURE', 'tls' ); // To use STARTTLS: 'tls'; To use SSL: 'ssl';
define( 'CL_SIMPLEST_SMTP_FROM', 'your-smtp-sender@email' ); // SMTP from email
define( 'CL_SIMPLEST_SMTP_NAME', 'Your Sender Name' ); // SMTP from name
This option is the optimal for security.
This plugin will slow down my WordPress?
No. This plugin is very lightweight and only adds one CSS file and one JS file if you are in the WordPress SMTP options page /wp-admin/options-general.php?page=cl-simplest-smtp and does not add anything to any other pages or on the frontend.
Only adds one database option (first FAQ) with an array of 8 short values and nothing if you configure it with constants in your wp-config.php file (the best option for speed and security).
Can I hide the “Invite me to a coffe” button?
Yes, of course. You must to define the constant CL_SIMPLEST_SMTP_HIDE_DONATE as truein your wp-config.php file and the button will fly out 😉
define( 'CL_SIMPLEST_SMTP_HIDE_DONATE', true );
But you can invite me to that coffee at any time from https://www.paypal.com/donate/?hosted_button_id=V6U6ZLFHNE6N4
Can I change the log file name?
Yes, the default mail log file name is cl-simplest-smtp-log.txt and is located in uploads folder. You can’t change the location, but you can change the file name if you define the constant CL_SIMPLEST_SMTP_LOG_FILENAME with the file name at your wp-config.php file.
Example:
define( 'CL_SIMPLEST_SMTP_LOG_FILENAME', 'my-cl-simplest-smtp-log-dec-2025.txt' );
Keep in mind that if the default log file was previously created, it won’t be deleted, only the new file will be created and the file that will be deleted on plugin uninstall will be the new defined file.
How can I tell you about a bug, ask for a functionality or contribute to the plugin?
The plugin development of this plugin is managed in this GitHub repository https://github.com/CarlosLongarela/cl-simplest-smtp
You can send us issues, requests or any comments to https://github.com/CarlosLongarela/cl-simplest-smtp/issues or create a pull request to contribute with any new bug fix, functionality or any other code change.