• Resolved ahobday

    (@ahobday)


    Emails don’t seem to be going out when we publish blog posts.

    I notice in the settings menu there’s a message in red:

    “The WordPress cron functions may be disabled on this server. Digest notifications may not work.”

    Would this affect all emails that go out? They were sending just fine a month ago, or so.

    What would have changed to make this happen?

    https://wordpress.org/plugins/subscribe2/

Viewing 15 replies - 1 through 15 (of 15 total)
  • @ahobday,

    That error message appears if your hosting provider has restricted read access to the wp-cron.php file. If they are doing that they are likely implementing other restrictions too so speak to them about failed emails and what you must / can do to restore delivery.

    Thread Starter ahobday

    (@ahobday)

    I’ve spoken to our hosting, and they say that the wp-cron.php file does not have restricted read access.

    The MX records for the server are set to another server since our email is hosted elsewhere. Could the other server which handles our email be responsible, or is the mail function used by Subscribe2 independent of that?

    @ahobday,

    Is it missing from the server then? I don’t think it’s anything to do with the MX records as Subscribe2 passes the mails to the core WordPress wp_mail() function which in turn uses the PHP mail() function. That should use the sendmail binary on the web server but I’m not sure where your email service kicks in, are you using an SMTP plugin for that?

    Thread Starter ahobday

    (@ahobday)

    The emails were sending out just fine until after February 10th. So something must have changed in the last month.

    I don’t believe we’ve made any changes to the plugins or the server.

    Does that help narrow it down?

    @ahobday,

    Not at all. Subscribe2 sends emails on your server. I just write the code that does the sending so there is nothing I can change. Install an email log and that will allow you to see if emails are bring generated. If they are then the issue is on the server.

    Thread Starter ahobday

    (@ahobday)

    We have both a mail log and mailer plugin (For the throttling) installed.

    Neither has any logs for when we’ve tried to send emails in the past few weeks.

    The “Sent” mails in the mailer plugin stop on the 9th of February.

    This is absolutely baffling 🙁

    @ahobday,

    Can you link to a screen shot of your settings page? I suspect a setting in Subscribe2 has been changed so that it is not even attempting to generate emails for some reason and that’s why nothing is logged.

    Thread Starter ahobday

    (@ahobday)

    Sure, here you go:

    View post on imgur.com

    @ahobday,

    That looks okay, can you do the same for the Registered User tab on that same page?

    Thread Starter ahobday

    (@ahobday)

    Sure:

    View post on imgur.com

    None of the categories in the top two sections are checked. “Allow registered users to subscribe to excluded categories?” IS checked.

    @ahobday,

    Okay, do you successfully get an email if you send a preview on the Templates page.

    Thread Starter ahobday

    (@ahobday)

    I do not.

    I’m starting to think the problem might be with the Mailer plugin we’re using.

    I will contact the developer of that and find out.

    @ahobday,

    Try disabling the mailer plugin and see if the emails start sending.

    Thread Starter ahobday

    (@ahobday)

    It turns out the hosting company HAD blocked access to the wp-cron.php file, even though they said that they hadn’t the first time I spoke with them.

    They thought we were running a shady spam operation, so they restricted access.

    I’ve explained everything to them now, so this should be resolved soon!

    Thank you for your help.

    @ahobday,

    At least they finally realised their mistake!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Emails not sending. "Cron functions disabled" error message?’ is closed to new replies.