Plugin Directory

Changeset 3385436


Ignore:
Timestamp:
10/27/2025 08:05:47 PM (4 months ago)
Author:
finalwebsites
Message:

Versie 1.1.4

Location:
simple-smtp-by-maileroo
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • simple-smtp-by-maileroo/trunk/maileroo.php

    r3379487 r3385436  
    44 * Plugin URI: https://maileroo.com/
    55 * Description: Simplify WordPress email delivery with universal SMTP compatibility, including Maileroo, SendGrid, Mailgun, and more - all-in-one SMTP plugin for reliable, user-friendly email integration.
    6  * Version: 1.1.3.1
     6 * Version: 1.1.4
    77 * Text Domain: maileroo
    88 * Domain Path: /languages/
     
    1818} // Exit if accessed directly
    1919
    20 define("SSBM_VERSION", "1.1.3.1");
     20define("SSBM_VERSION", "1.1.4");
    2121
    2222
     
    204204        foreach ($headers as $header) {
    205205            if (empty($header)) continue;
    206             // todo add bcc and cc headers
    207206            if (preg_match('/^Reply-To: (.*)$/i', $header, $matches)) {
    208207                $replyto = trim($matches[1]);
    209208                if (is_email($replyto)) $payload['reply_to'] = array('address' => $replyto);
    210             } elseif (substr($header, 0, 5) == 'From:') {
     209            } elseif (substr(strtolower($header), 0, 5) == 'from:') {
    211210                $force = get_option('ssbm_force_from');
    212211                if (empty($force)) {
     
    214213                    $payload['from'] = $from[0];
    215214                }
    216             } elseif (substr($header, 0, 3) == 'Cc:') {
     215            } elseif (substr(strtolower($header), 0, 3) == 'cc:') {
    217216                $payload['cc'] = ssbm_parse_from_header($header);
    218217
    219             } elseif (substr($header, 0, 4) == 'Bcc:') {
     218            } elseif (substr(strtolower($header), 0, 4) == 'bcc:') {
    220219                $payload['bcc'] = ssbm_parse_from_header($header);
    221220
  • simple-smtp-by-maileroo/trunk/readme.txt

    r3379487 r3385436  
    55Requires at least: 4.6
    66Tested up to: 6.8.2
    7 Stable tag: 1.1.3.1
     7Stable tag: 1.1.4
    88License: GPL-3.0
    99License URI: https://www.gnu.org/licenses/gpl.html
     
    8989== Changelog ==
    9090
     91
     92= v1.1.4
     93
     94* Improvement: Cc, Bcc and From: headers are now also recognized when spelled in capital or lower case.
     95
    9196= v1.1.3.1 =
    9297
    9398* Bug Fix: Fixed a problem with misspelled reply-to headers.
    9499
    95 = v1.1.3 = Support for "Cc:" and "Bcc:" headers was still missing when calling the Maileroo Email API v2. This is now possible for both types of headers.
     100= v1.1.3
    96101
    97 * Improvement: Voor de API
     102* Improvement: Support for "Cc:" and "Bcc:" headers was still missing when calling the Maileroo Email API v2. This is now possible for both types of headers.
    98103
    99104= v1.1.2 =
Note: See TracChangeset for help on using the changeset viewer.