Support » Plugin: WP Mail SMTP by WPForms » WP Mail SMTP has full PHP 7.x Support (7.0, 7.1, 7.2, 7.3)

  • Plugin Author Jared Atchison

    (@jaredatch)


    WP Mail SMTP is 100% fully compatible and functional with all PHP 7.x releases. This includes PHP 7.0, 7.1, 7.2, and 7.3.

    Various PHP compatibility “checker” plugins (such as PHPCompat) will report issues with WP Mail SMTP. These are false positives and can be ignored.

    Several packages that WP Mail SMTP leverages include different versions of code to offer support for ALL PHP versions, from 5.4 through 7.2. The result of this is that WP Mail SMTP includes code that will flag the PHP compatibility checkers.

    However, this code is conditionally loaded depending on the PHP version on your site. So, for example, if you are on an older version of PHP the plugin will use mcrypt, if you are on PHP 7.2+, that functionality is not loaded or used (as it is not available).

    The PHP compatibility checkers do no currently account for smart conditional loading. Instead, they scan all the files included in the plugin and will flag items regardless if they are loaded/used or not.

    It’s very important to us that users are able to use the latest, most secure, and fastest versions of PHP, so we’re committed to make sure WP Mail SMTP is 100% functional with all latest PHP releases.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you have a tutorial for this issue. I already posted a php 7.2 issue today between the two plugins, wpmail smtp and wpforms. The test email via smtp plugin was successful but the wpform submission was not received.

    Suggest you report false positives here:
    https://github.com/wpengine/phpcompat/wiki/Results

    Plugin Author Jared Atchison

    (@jaredatch)

    We reported the false positive (https://github.com/wpengine/phpcompat/issues/222) but given that the GitHub issues contain false positives reported several years ago, I don’t believe they will likely ever be addressed unfortunately.

    FILE: /home/public_html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/promises/src/functions.php
    ————————————————————————————————————-
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ————————————————————————————————————-
    222 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    257 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    313 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    ————————————————————————————————————-

    FILE: /home/public_html/wp-content/plugins/wp-mail-smtp/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php
    ——————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————-
    10 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
    ——————————————————————————————————————-

    Plugin Support Jess Quig

    (@jquigam)

    Hi jgodfrey99,

    These same warnings have been brought up in quite a few other posts, but fortunately they are just false positives.

    WP Mail SMTP is fully compatible with PHP 7.2+

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP Mail SMTP has full PHP 7.x Support (7.0, 7.1, 7.2, 7.3)’ is closed to new replies.