Plugin Directory

Changeset 3103857


Ignore:
Timestamp:
06/18/2024 05:31:10 AM (20 months ago)
Author:
dipakraval
Message:

1.1.8

Location:
bulk-mail-sender/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • bulk-mail-sender/trunk/App/BMSIAdmin.php

    r3103039 r3103857  
    17011701            $smtp_option = get_option('BMSI_SMTP_Options');
    17021702
    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 
    17111703            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
    17121720                if ($phpmailer->smtpConnect()) {
    17131721                    $message = "SMTP connection Successfully.";
     
    17721780        $phpmailer->Username = $smtp_option["smtpU"] ?? '';
    17731781        $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        }
    17751792
    17761793    }
  • bulk-mail-sender/trunk/App/BMSIBase.php

    r3103039 r3103857  
    2323    public function bmsi_base_enqueue_scripts()
    2424    {
    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);
    2727    }
    2828}
  • bulk-mail-sender/trunk/App/BMSIDeactivate.php

    r3103039 r3103857  
    1919    public function bmsi_deactivate_enqueue_scripts()
    2020    {
    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);
    2323        wp_localize_script(
    2424            'bms-feedback-script',
  • bulk-mail-sender/trunk/README.md

    r3103039 r3103857  
    11=== Bulk Mail Sender ===
    22Contributors: dipakraval
    3 Tags: wordpress, news, newsletter, mails, sendmail, mail, gmail, bulk
     3Tags: news, newsletter, mails, sendmail, bulk
    44Requires at least: 5.0
    55Tested up to: 6.4
    6 Stable tag: 1.1.7
     6Stable tag: 1.1.8
    77Requires PHP: 7.0
    88License: GPLv3 or later
  • bulk-mail-sender/trunk/bulk_mail_sender.php

    r3103039 r3103857  
    44 * Plugin URI: https://insixus.com/
    55 * Description: Bulk Mail Sender
    6  * Version: 1.1.7
     6 * Version: 1.1.8
    77 * Author: InSixUs InfoTech
    88 * Text Domain: Bulk Mail Sender
     
    3232}
    3333if (!defined('BMSI_PLUGIN_VERSION')) {
    34     define('BMSI_PLUGIN_VERSION', '1.1.7');
     34    define('BMSI_PLUGIN_VERSION', '1.1.8');
    3535}
    3636
  • bulk-mail-sender/trunk/readme.txt

    r3103039 r3103857  
    44Requires at least: 5.0
    55Tested up to: 6.5
    6 Stable tag:1.1.7
     6Stable tag:1.1.8
    77Requires PHP: 7.0
    88License: GPLv3 or later
     
    6868* mail send issue fixed
    6969* Get help added
     70
     71= 1.1.8 - 15/06/2024
     72* smtp issue fixed
  • bulk-mail-sender/trunk/templates/BMSIAddUser.php

    r3096764 r3103857  
    7777                                <?php
    7878                                $option = get_option("BMSI_User_Options");
    79                                 if ($option["pass"] == "false") {
     79                                if (!empty($option["pass"]) && $option["pass"] == "false") {
    8080                                    ?>
    8181                                    <div>
     
    192192                            <?php
    193193                            $option = get_option("BMSI_User_Options");
    194                             if ($option["pass"] == "false") {
     194                            if (!empty($option["pass"]) && $option["pass"] == "false") {
    195195                                ?>
    196196                                <div>
  • bulk-mail-sender/trunk/templates/BMSIHeader.php

    r3099814 r3103857  
    44    <a href="#" class="text-decoration-none fs-4 fw-medium text-black">Bulk Mail Sender </a>
    55</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 } ?>
    156
    167<div class="row">
  • bulk-mail-sender/trunk/templates/BMSISendMail.php

    r3096764 r3103857  
    1313}
    1414
     15$args = array(
     16    'role' => 'administrator',
     17);
     18
     19$users = get_users($args);
    1520?>
    1621
     
    139144
    140145                    </div>
    141                     <div class="subjectAndemailfrom manual mb-4">
     146                    <div class="subjectAndemailfrom firstAndLastName manual mb-4">
    142147                        <div class="emailfrom d-flex">
    143148                            <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>
    147162
    148163                               
     
    345360
    346361                    </div>
    347                     <div class="subjectAndemailfrom manual mb-4">
     362                    <div class="subjectAndemailfrom firstAndLastName manual mb-4">
    348363                        <div class="emailfrom d-flex">
    349364                            <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>
    353378                    </div>
    354379                    <div class="manual">
Note: See TracChangeset for help on using the changeset viewer.