From b1a8675fb3fdbd9956a049fedb2a8cb2b0840fa5 Mon Sep 17 00:00:00 2001 From: Lai Power Date: Thu, 8 Feb 2024 12:31:47 +0000 Subject: [PATCH] updated plugin `SMTP Mailer` version 1.1.12 --- .../addons/images/smtp-mailer-reply-to.png | Bin 0 -> 3613 bytes .../smtp-mailer/addons/smtp-mailer-addons.css | 34 ++++++++ .../smtp-mailer/addons/smtp-mailer-addons.php | 41 +++++++++ wp-content/plugins/smtp-mailer/main.php | 79 +++++++++++++++++- wp-content/plugins/smtp-mailer/readme.txt | 9 +- 5 files changed, 158 insertions(+), 5 deletions(-) create mode 100644 wp-content/plugins/smtp-mailer/addons/images/smtp-mailer-reply-to.png create mode 100644 wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.css create mode 100644 wp-content/plugins/smtp-mailer/addons/smtp-mailer-addons.php 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 0000000000000000000000000000000000000000..3e40f13196986596381e176e4481d5b0ae21d7cf GIT binary patch literal 3613 zcmb7HXH-+^+NDVmWe^?5866EEj_8ntCJ;afBnnbQKw*%cgq{SF(4`oGASfb=bWuPM zQKX548hS_|kc65LN`TOt6`jHR1@Acb`*Ho&`p!D%yk+gZpZz}XbJjWMrj7Oay}N(e zEg~Ya*W3(dD{QI4>w&bm@cvv(=d`f-nE-br*kQd0p&mGt2o#C+L;=jv9^NQhlm{|A zs0U>rA|ej(wRa>qT3JF6STxXM2LlX42MXCDA_hibfgT8d6anCg^7h3TDy=uPC;@zt zhDr|FR$!|@QKbb5 zIuK0_2pA0b`%n@_!y&yOwy<-5#}bYVm3#<s3_8c(oA{m1Wr6~^0#2ckf>C_FY8hY)U@m-0@iK!_<0cGhDt&{(AO6UfoX!F z+NRnXreHl?b#*x01S(9Ej;RJ5tP9nF>wv#;VOT^k8igTz<0AjV)%-4Zrx4JA!pJZb z&Nl>wJcq-g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uS7b1Z3|V$SAW&~l{1gxxq^iouu0c3gfa5BC5SVU1WF89{J*^Xw)ehi a5q^>q68!fVhd=!K$7T+'; + 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.