• Thanks for the plugin – I got it to work once, really appreciated the test mail with debug headers!

    I’m attempting to use this plugin because I think my host has migrated servers / upgraded / changed something (and default mail no longer worked), and they suggested trying this.

    Unfortunately, an error is thrown:

    PHP Warning: feof() expects parameter 1 to be resource, integer given in /home/user_name/public_html/wp-includes/class-smtp.php on line 800

    …which is being repeated in wp-content/debug.log ~5,000 in the times per second (about 1mb/sec!).

    Any suggestions? Thanks an advance, Tim

    PS..
    I think part of the issue is that I had debugging set on (now off), but the (shared hosting) server has ground to a halt, and I have limited access, so i have to wait for support to kill all the processes before I can debug further…

    define( 'WP_DEBUG', false );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    ini_set( 'display_errors', 0 );

    I guess the function mentioned in the error is: https://github.com/WordPress/WordPress/blob/3.5-branch/wp-includes/class-smtp.php#L800 but I can’t see what the problem is…

    WP 3.5.2 (sorry – the new site is nearly ready to launch, and the old is delicate 🙁

    https://wordpress.org/plugins/wp-mail-smtp/

  • The topic ‘PHP Warning: feof() expects parameter 1 to be resource, integer given’ is closed to new replies.