• Resolved mojamba

    (@mojamba)


    My newsletters are no longer working with no change made on my part. It’s been a few days but I didn’t notice it. The only thing I can think of is it sort of corresponds to updating to the latest WP version (though I am not 100% sure). It seems to generate the queue but doesn’t send any emails and shows no errors either. When I try to test the email settings I just see a spinning working image but nothing happens – no success and no failure either. Just spins forever. When I try to send an email to one of the addresses in the queue I get an error saying no batch was selected. Please advise.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tribulant Software

    (@contrid)

    Thank you for your feedback! We’re currently updating our plugin for WordPress 5.5, PHPMailer and other elements as well.

    For the moment, try using “Local server” to send emails.

    We’re working quick to get the latest version released.

    Thread Starter mojamba

    (@mojamba)

    Thanks for the update. I noticed you updated the plugin (at least, the paid version I am using) but unfortunately, it is still not working now. I did try testing with the local mail option and that also did not work (the testing working icon appears but never goes away with either success or failure).

    Thread Starter mojamba

    (@mojamba)

    I did a little debugging and seem to have found the problem in the new code. Your line 9265 in wp-mailinglist-plugin.php (at least, for the paid version) is:

    $phpmailer = new PHPMailer\PHPMailer\PHPMailer\PHPMailer(true);

    but it should be:

    $phpmailer = new \PHPMailer\PHPMailer\PHPMailer(true);

    With that change things seem to be working again for me (and the test email feature works again as well).

    Plugin Author Tribulant Software

    (@contrid)

    Hi @mojamba,

    Could you submit a support ticket since you’re using the paid version? https://tribulant.com/support/

    We did try your fix and while it does fix the spinning issue and does send an email when using SMTP (Local Server works without the fix), it caused lots of text to appear when testing the settings.

    We can further troubleshoot this with you via our support system as I don’t believe WordPress allows us to discuss paid products here.

    Thread Starter mojamba

    (@mojamba)

    FWIW, my local server didn’t work without the fix (and I haven’t tried it with the fix) but yes, I am using SMTP. Anyway, as requested, I just opened a ticket.

    Newsletters Lite: using SMTP, after update from WP v4.6 to v5.5.1 sending is not possible anymore for me (just for a change: it’s about the wp.org version of the Tribulant plugin). Is there also a solution for the free Newsletters Lite on the horizon?

    This could maybe even be an opportunity to switch to the WP API and use wp_mail() instead of diving into inner workings of PHPMailer which are expected to change. The API allows dev’s to change outgoing mail in so many aspects – so a bit refactoring should reduce support requests (and hacking core for dev’s) as well.

    But for the first shot it could be amazing if the plugin would work again.

    Thanks so far!

    Solution for me – edit wp-mailinglist-plugin.php starting at line 9225.

    Override this:

    if (!is_object($phpmailer)) {
    	require_once(ABSPATH . WPINC . DS . 'class-phpmailer.php');
    	$phpmailer = new PHPMailer(true);
    }

    with the follwing WP core code (see pluggable.php):

    // (Re)create it, if it's gone missing.
    if ( ! ( $phpmailer instanceof PHPMailer\PHPMailer\PHPMailer ) ) {
    	require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php';
    	require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';
    	require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';
    	$phpmailer = new PHPMailer\PHPMailer\PHPMailer( true );
    
    	$phpmailer::$validator = static function ( $email ) {
    		return (bool) is_email( $email );
    	};
    }

    Hope, this helps.

    Plugin Author Tribulant Software

    (@contrid)

    We do have the fix (among other updates) in our free Newsletter plugin for a few weeks now but we’re having issues with SVN (to update our plugin here on www.ads-software.com). We can send you the latest free Newsletter zip file if you submit a ticket on our website.

    Why don’t you provide a download link here so that we all are able to get out of the struggle and bringing the plugin back to work? What you suggest is like a paper chase …

    Edit: created the ticket and have to wait. So easy!

    • This reply was modified 4 years, 2 months ago by Frank.
    • This reply was modified 4 years, 2 months ago by Frank.
    Plugin Author Tribulant Software

    (@contrid)

    Hi Frank,

    You can submit a ticket on our website by clicking on Support or Help Desk.
    Not at our forums, which is set to read only for now.
    I’m unsure about adding a link here as I don’t want to do anything against www.ads-software.com’s rules. I do not know if it’s against their rules or not but I’d rather not take a chance as they can be strict.

    Who’s looking for the latest version with fixing the issue should have a look here: https://tribulant.com/support/tickets.php?id=75411

    The plugin should really be deployed by wp.org, but Tribulant has SVN issues on wp.org as described above.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘stopped working’ is closed to new replies.