diff --git a/wp-content/plugins/smtp-mailer/addons/images/smtp-mailer-reply-to.png b/wp-content/plugins/smtp-mailer/addons/images/smtp-mailer-reply-to.png new file mode 100644 index 00000000..3e40f131 Binary files /dev/null and b/wp-content/plugins/smtp-mailer/addons/images/smtp-mailer-reply-to.png differ diff --git a/wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.css b/wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.css new file mode 100644 index 00000000..92ae90df --- /dev/null +++ b/wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.css @@ -0,0 +1,34 @@ +.smtp_mailer_addons_item_canvas{ + background-color:#fff; + font-family:sans-serif,arial; + font-size:12px; + border:1px solid #ccc; + display:block; + float:left; + margin:3px 12px 12px 0; + padding:10px 0px 10px 10px; + position:relative; + width:222px; + height:340px; +} +.smtp_mailer_addons_item_canvas:hover{border-color:#999;} +.smtp_mailer_addons_item_thumb img {height: 150px; width: 200px; padding: 5px; border: 1px solid #ccc;} +.smtp_mailer_addons_item_thumb a img {border: 1px solid #ccc;} +.smtp_mailer_addons_item_body{line-height:22px;height:170px;overflow:hidden;} +.smtp_mailer_addons_item_name{font-size:16px;font-weight:bold;text-align: center;margin:10px 10px 10px 0px;} +.smtp_mailer_addons_item_description{margin:10px 10px 5px 0px;/*text-align:justify;*/overflow:hidden;height:70px;} +.smtp_mailer_addons_clear{clear:both;} +.smtp_mailer_addons_item_details_link{ + text-align: center; +} +.smtp_mailer_addons_item_details_link a{ + border: 3px solid #2d3140; + color: #2d3140; + display: inline-block; + padding: 5px 15px; + text-decoration: none !important; +} +.smtp_mailer_addons_item_details_link a:hover{ + background-color: #2d3140; + color: #FFF; +} diff --git a/wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.php b/wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.php new file mode 100644 index 00000000..1d228ff1 --- /dev/null +++ b/wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.php @@ -0,0 +1,41 @@ +'; + echo '

' .__('SMTP Mailer Add-ons', 'smtp-mailer') . '

'; + */ + $addons_data = array(); + + $addon_1 = array( + 'name' => 'Reply-To', + 'thumbnail' => SMTP_MAILER_URL.'/addons/images/smtp-mailer-reply-to.png', + 'description' => 'Set a Reply-To address for all outgoing email messages', + 'page_url' => 'https://wphowto.net/how-to-add-a-reply-to-address-in-the-smtp-mailer-wordpress-plugin-6997', + ); + array_push($addons_data, $addon_1); + + //Display the list + foreach ($addons_data as $addon) { + ?> +
+
+ <?php echo esc_attr($addon['name']);?> +
+
+
+ +
+
+ +
+ +
+
+ ';//end of wrap +} diff --git a/wp-content/plugins/smtp-mailer/main.php b/wp-content/plugins/smtp-mailer/main.php index 89bae4f2..3e22fce1 100644 --- a/wp-content/plugins/smtp-mailer/main.php +++ b/wp-content/plugins/smtp-mailer/main.php @@ -1,7 +1,7 @@ __('General', 'smtp-mailer'), 'smtp-mailer-settings&action=test-email' => __('Test Email', 'smtp-mailer'), 'smtp-mailer-settings&action=server-info' => __('Server Info', 'smtp-mailer'), + 'smtp-mailer-settings&action=addons' => __('Add-ons', 'smtp-mailer'), + 'smtp-mailer-settings&action=advanced' => __('Advanced', 'smtp-mailer'), ); $url = "https://wphowto.net/smtp-mailer-plugin-for-wordpress-1482"; $link_text = sprintf(__('Please visit the SMTP Mailer documentation page for usage instructions.', 'smtp-mailer'), esc_url($url)); @@ -130,6 +144,12 @@ class SMTP_MAILER { case 'server-info': $this->server_info_settings(); break; + case 'addons': + smtp_mailer_display_addons(); + break; + case 'advanced': + $this->advanced_settings(); + break; } } else @@ -404,7 +424,47 @@ class SMTP_MAILER { +
+

'; + echo __('Settings Saved!', 'smtp-mailer'); + echo '

'; + } + $settings_fields = ''; + $settings_fields = apply_filters('smtp_mailer_advanced_settings_fields', $settings_fields); + if(empty($settings_fields)){ + return; + } + ?> +
+ + + + + + + +
+ +

+
+ Subject = $subject; $phpmailer->Body = $message; diff --git a/wp-content/plugins/smtp-mailer/readme.txt b/wp-content/plugins/smtp-mailer/readme.txt index 1f9a5733..c77fd6b1 100644 --- a/wp-content/plugins/smtp-mailer/readme.txt +++ b/wp-content/plugins/smtp-mailer/readme.txt @@ -4,7 +4,7 @@ Donate link: https://wphowto.net/ Tags: email, mail, smtp, phpmailer Requires at least: 6.4 Tested up to: 6.4 -Stable tag: 1.1.11 +Stable tag: 1.1.12 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -16,6 +16,10 @@ Configure a SMTP server to send email from your WordPress site. Configure the wp https://www.youtube.com/watch?v=7O_jgtykcEk&rel=0 +=== SMTP Mailer Add-ons === + +* [Reply-To](https://wphowto.net/how-to-add-a-reply-to-address-in-the-smtp-mailer-wordpress-plugin-6997) + === SMTP Mailer Settings === * **SMTP Host**: Your outgoing mail server (e.g. smtp.gmail.com). @@ -68,6 +72,9 @@ none == Changelog == += 1.1.12 = +* Added support for the reply-to add-on. + = 1.1.11 = * WordPress 6.4 compatibility update.