Changeset 3103857
- Timestamp:
- 06/18/2024 05:31:10 AM (20 months ago)
- Location:
- bulk-mail-sender/trunk
- Files:
-
- 9 edited
-
App/BMSIAdmin.php (modified) (2 diffs)
-
App/BMSIBase.php (modified) (1 diff)
-
App/BMSIDeactivate.php (modified) (1 diff)
-
README.md (modified) (1 diff)
-
bulk_mail_sender.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/BMSIAddUser.php (modified) (2 diffs)
-
templates/BMSIHeader.php (modified) (1 diff)
-
templates/BMSISendMail.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bulk-mail-sender/trunk/App/BMSIAdmin.php
r3103039 r3103857 1701 1701 $smtp_option = get_option('BMSI_SMTP_Options'); 1702 1702 1703 $phpmailer->isSMTP();1704 $phpmailer->Host = $smtp_option["smtpH"] ?? '';1705 $phpmailer->SMTPAuth = true;1706 $phpmailer->Port = $smtp_option["smtpPort"] ?? 587;1707 $phpmailer->Username = $smtp_option["smtpU"] ?? '';1708 $phpmailer->Password = $smtp_option["smtpPass"] ?? '';1709 $phpmailer->SMTPSecure = $smtp_option["Secure"] ?? 'tls';1710 1711 1703 try { 1704 $phpmailer->isSMTP(); 1705 $phpmailer->Host = $smtp_option["smtpH"] ?? ''; 1706 $phpmailer->SMTPAuth = true; 1707 $phpmailer->Port = $smtp_option["smtpPort"] ?? 587; 1708 $phpmailer->Username = $smtp_option["smtpU"] ?? ''; 1709 $phpmailer->Password = $smtp_option["smtpPass"] ?? ''; 1710 $phpmailer->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; 1711 1712 if (!empty($smtp_option["Secure"]) && strtolower($smtp_option["Secure"]) === "ssl") { 1713 $phpmailer->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; 1714 $phpmailer->Port = 465; 1715 $phpmailer->SMTPAutoTLS = false; 1716 } else { 1717 $phpmailer->SMTPAutoTLS = true; 1718 } 1719 1712 1720 if ($phpmailer->smtpConnect()) { 1713 1721 $message = "SMTP connection Successfully."; … … 1772 1780 $phpmailer->Username = $smtp_option["smtpU"] ?? ''; 1773 1781 $phpmailer->Password = $smtp_option["smtpPass"] ?? ''; 1774 $phpmailer->SMTPSecure = $smtp_option["Secure"] ?? 'tls'; 1782 1783 $phpmailer->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; 1784 1785 if (!empty($smtp_option["Secure"]) && strtolower($smtp_option["Secure"]) === "ssl") { 1786 $phpmailer->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; 1787 $phpmailer->Port = 465; 1788 $phpmailer->SMTPAutoTLS = false; 1789 } else { 1790 $phpmailer->SMTPAutoTLS = true; 1791 } 1775 1792 1776 1793 } -
bulk-mail-sender/trunk/App/BMSIBase.php
r3103039 r3103857 23 23 public function bmsi_base_enqueue_scripts() 24 24 { 25 wp_enqueue_style('bms-base-css', BMSI_DIR_URI . 'assets/css/base_style.css', '1.1. 7');26 wp_enqueue_script('bms-base-js', BMSI_DIR_URI . 'assets/js/base_script.js', ['jquery'], '1.1. 7', true);25 wp_enqueue_style('bms-base-css', BMSI_DIR_URI . 'assets/css/base_style.css', '1.1.8'); 26 wp_enqueue_script('bms-base-js', BMSI_DIR_URI . 'assets/js/base_script.js', ['jquery'], '1.1.8', true); 27 27 } 28 28 } -
bulk-mail-sender/trunk/App/BMSIDeactivate.php
r3103039 r3103857 19 19 public function bmsi_deactivate_enqueue_scripts() 20 20 { 21 wp_enqueue_style('bms-feedback-style', BMSI_DIR_URI . 'assets/css/feedback.css', array(), '1.1. 7');22 wp_enqueue_script('bms-feedback-script', BMSI_DIR_URI . 'assets/js/feedback.js', array('jquery'), '1.1. 7', true);21 wp_enqueue_style('bms-feedback-style', BMSI_DIR_URI . 'assets/css/feedback.css', array(), '1.1.8'); 22 wp_enqueue_script('bms-feedback-script', BMSI_DIR_URI . 'assets/js/feedback.js', array('jquery'), '1.1.8', true); 23 23 wp_localize_script( 24 24 'bms-feedback-script', -
bulk-mail-sender/trunk/README.md
r3103039 r3103857 1 1 === Bulk Mail Sender === 2 2 Contributors: dipakraval 3 Tags: wordpress, news, newsletter, mails, sendmail, mail, gmail, bulk3 Tags: news, newsletter, mails, sendmail, bulk 4 4 Requires at least: 5.0 5 5 Tested up to: 6.4 6 Stable tag: 1.1. 76 Stable tag: 1.1.8 7 7 Requires PHP: 7.0 8 8 License: GPLv3 or later -
bulk-mail-sender/trunk/bulk_mail_sender.php
r3103039 r3103857 4 4 * Plugin URI: https://insixus.com/ 5 5 * Description: Bulk Mail Sender 6 * Version: 1.1. 76 * Version: 1.1.8 7 7 * Author: InSixUs InfoTech 8 8 * Text Domain: Bulk Mail Sender … … 32 32 } 33 33 if (!defined('BMSI_PLUGIN_VERSION')) { 34 define('BMSI_PLUGIN_VERSION', '1.1. 7');34 define('BMSI_PLUGIN_VERSION', '1.1.8'); 35 35 } 36 36 -
bulk-mail-sender/trunk/readme.txt
r3103039 r3103857 4 4 Requires at least: 5.0 5 5 Tested up to: 6.5 6 Stable tag:1.1. 76 Stable tag:1.1.8 7 7 Requires PHP: 7.0 8 8 License: GPLv3 or later … … 68 68 * mail send issue fixed 69 69 * Get help added 70 71 = 1.1.8 - 15/06/2024 72 * smtp issue fixed -
bulk-mail-sender/trunk/templates/BMSIAddUser.php
r3096764 r3103857 77 77 <?php 78 78 $option = get_option("BMSI_User_Options"); 79 if ( $option["pass"] == "false") {79 if (!empty($option["pass"]) && $option["pass"] == "false") { 80 80 ?> 81 81 <div> … … 192 192 <?php 193 193 $option = get_option("BMSI_User_Options"); 194 if ( $option["pass"] == "false") {194 if (!empty($option["pass"]) && $option["pass"] == "false") { 195 195 ?> 196 196 <div> -
bulk-mail-sender/trunk/templates/BMSIHeader.php
r3099814 r3103857 4 4 <a href="#" class="text-decoration-none fs-4 fw-medium text-black">Bulk Mail Sender </a> 5 5 </div> 6 7 <?php if (is_bulk_mail_pro_activated() != "true") { ?>8 <div class="img" id="pro_baneer">9 <button id="closeButton" class="closeButton"><i class="fa-solid fa-xmark"></i></button>10 <a href="https://bulkmail.insixus.com/" target="_blank">11 <img id="imageToShow" src="<?php echo BMSI_DIR_URI . "assets/images/card.png" ?>" alt="" width="100%">12 </a>13 </div>14 <?php } ?>15 6 16 7 <div class="row"> -
bulk-mail-sender/trunk/templates/BMSISendMail.php
r3096764 r3103857 13 13 } 14 14 15 $args = array( 16 'role' => 'administrator', 17 ); 18 19 $users = get_users($args); 15 20 ?> 16 21 … … 139 144 140 145 </div> 141 <div class="subjectAndemailfrom manual mb-4">146 <div class="subjectAndemailfrom firstAndLastName manual mb-4"> 142 147 <div class="emailfrom d-flex"> 143 148 <label for="admin_mail">Email From</label> 144 <input type="email" name="admin_mail" id="admin_mail" class="admin_mail input-groups" 145 placeholder="Enter Email From" required> 146 </div> 149 <select name="admin_mail" id="admin_mail" class="input-groups"> 150 <?php 151 foreach ($users as $user) { ?> 152 153 <option value="<?php echo esc_attr($user->user_email); ?>"> 154 <?php echo esc_attr($user->user_email); ?> 155 </option> 156 <?php 157 } 158 ?> 159 160 </select> 161 </div> 147 162 148 163 … … 345 360 346 361 </div> 347 <div class="subjectAndemailfrom manual mb-4">362 <div class="subjectAndemailfrom firstAndLastName manual mb-4"> 348 363 <div class="emailfrom d-flex"> 349 364 <label for="admin_mail">Email From</label> 350 <input type="email" name="admin_mail" id="admin_mail" class="admin_mail input-groups" 351 placeholder="Enter Email From" required> 352 </div> 365 <select name="admin_mail" id="admin_mail" class="input-groups"> 366 <?php 367 foreach ($users as $user) { ?> 368 369 <option value="<?php echo esc_attr($user->user_email); ?>"> 370 <?php echo esc_attr($user->user_email); ?> 371 </option> 372 <?php 373 } 374 ?> 375 376 </select> 377 </div> 353 378 </div> 354 379 <div class="manual">
Note: See TracChangeset
for help on using the changeset viewer.