Plugin Directory

Changeset 1242043


Ignore:
Timestamp:
09/10/2015 02:06:14 AM (10 years ago)
Author:
wpecommerce
Message:

.committing version 1.2.0

Location:
easy-wp-smtp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • easy-wp-smtp/trunk/easy-wp-smtp.php

    r1228853 r1242043  
    22/*
    33Plugin Name: Easy WP SMTP
    4 Version: 1.1.9
     4Version: 1.2.0
    55Plugin URI: https://wp-ecommerce.net/easy-wordpress-smtp-send-emails-from-your-wordpress-site-using-a-smtp-server-2197
    66Author: wpecommerce
     
    345345        require_once( ABSPATH . WPINC . '/class-phpmailer.php' );
    346346        $mail = new PHPMailer();
    347        
    348         $from_name  = utf8_decode($swpsmtp_options['from_name_field']);
     347               
     348                $charset = get_bloginfo( 'charset' );
     349        $mail->CharSet = $charset;
     350               
     351        $from_name  = $swpsmtp_options['from_name_field'];
    349352        $from_email = $swpsmtp_options['from_email_field'];
    350353       
     
    368371        $mail->SetFrom( $from_email, $from_name );
    369372        $mail->isHTML( true );
    370         $mail->Subject = utf8_decode($subject);
     373        $mail->Subject = $subject;
    371374        $mail->MsgHTML( $message );
    372375        $mail->AddAddress( $to_email );
     
    407410            $password = "";
    408411            $decoded_pass = base64_decode($temp_password);
     412            /* no additional checks for servers that aren't configured with mbstring enabled */
     413            if ( ! function_exists( 'mb_detect_encoding' ) ){
     414                return $decoded_pass;
     415            }
     416            /* end of mbstring check */
    409417            if (base64_encode($decoded_pass) === $temp_password) {  //it might be encoded
    410418                if(false === mb_detect_encoding($decoded_pass)){  //could not find character encoding.
  • easy-wp-smtp/trunk/readme.txt

    r1228853 r1242043  
    55Requires at least: 3.0
    66Tested up to: 4.3
    7 Stable tag: 1.1.9
     7Stable tag: 1.2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7575
    7676== Changelog ==
     77
     78= 1.2.0 =
     79
     80* Set email charset to utf-8 for test email functionality.
     81* Run additional checks on the password only if mbstring is enabled on the server. This should fix the issue with password input field not appearing on some servers.
    7782
    7883= 1.1.9 =
Note: See TracChangeset for help on using the changeset viewer.