• Resolved Phil

    (@legaulph)


    I have setup the automated newsletter for newly added post daily intervals at 6:00am. I have created new post to make sure there is new post. I tested the send preview and works with no issues. Send with is set to your own website and php mail and it test fine. Setup crontab -e on the server with all methods you recommended running every minute tail -f /var/log/corn shows — Jul 19 19:15:01 Servername CROND[18223]: (root) CMD (curl –silent “http://sitename.com/wp-cron.php?…=wysija_cron&process=all” > /dev/null 2>&1).
    I tried curl, wget, and lynx. I run the commands at the command line without any errors.

    Never sends out emails

    https://wordpress.org/plugins/wysija-newsletters/

Viewing 15 replies - 1 through 15 (of 20 total)
  • I am very curious for your reply. I have similar problem. emails that I click to send manually work fine.. I am curious– did you try with regular wordpress php cron(and make sure to hit the site to make it trigger?) if so- do those work for you? How about hitting that cron URL in a browser- did that fire the email send?

    Thread Starter Phil

    (@legaulph)

    I set it to run immediately verified that there are new post to send, visited the site. Nothing!

    I visited the cron URL in the browser and get “MailPoet’s cron is ready. Simply setup a CRON job on your server (cpanel or other) to trigger this page.”

    Thread Starter Phil

    (@legaulph)

    No emails

    and your standard emails send fine? when scheduled for a specific time in advance?

    Thread Starter Phil

    (@legaulph)

    Yes they send fine.
    I have 2 other newsletters setup

    1 – I have setup for new users register to the site. (works)
    1 – when someone subscribes. (works)

    I’m going to try a couple more test.

    Thread Starter Phil

    (@legaulph)

    Changing the job I see under sending 2 green boxes that read

    The last batch of emails should start sending automatically in the next few minutes.
    I can choose to not wait and send know and the emails are sent.

    That is the only way to get them to send

    same with my installation- I think we both have the same issue then 🙁

    Thread Starter Phil

    (@legaulph)

    Well we can only hope that someone that knows how to solve this problem will post the solution.

    I am looking into using SMTP host(sendgrid which is free for small use)- I will let you know if that solves the problem… will know in another hour… I bet this is an issue with possible server security preventing the send with php mail…

    Thread Starter Phil

    (@legaulph)

    My site is internal
    I tested the php send mail and the test works

    Thread Starter Phil

    (@legaulph)

    On thing I notice is my WordPress site is behind one hr from the server.

    The Server has the correct time. I wonder if this is the cause

    I can confirm that another SMTP sender solved my problem so that leads me to believe it is with the php mail sending. Mine worked fine for test and manual sends but not the automatic ones… nor form automatic ones using my own crontab… have you checked our local mail folder- Is there mail in the new or undeliverable folders?

    Thread Starter Phil

    (@legaulph)

    Here is what I get when I run the command from the console

    #-> curl http://SCMCommunity.jnj.com/wp-cron.php?5de26fe88ffa78567970abeb17240931&action=wysija_cron&process=all
    [1] 9463
    [2] 9464
    [root@awsacrnva1057:/app/wordpress/wp-content/plugins]#
    #-> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>401 Authorization Required</title>
    </head><body>
    <h1>Authorization Required</h1>
    <p>This server could not verify that you
    are authorized to access the document
    requested.  Either you supplied the wrong
    credentials (e.g., bad password), or your
    browser doesn't understand how to supply
    the credentials required.</p>
    </body></html>
    
    [1]-  Done                    curl http://sitename/wp-cron.php?xxxx
    [2]+  Done                    action=wysija_cron
    [root@awsacrnva1057:/app/wordpress/wp-content/plugins]#

    we are using AD authentication with kerberos

    Thread Starter Phil

    (@legaulph)

    Please if someone can help I would appreciate it

    Any other plugins installed that might be blocking or caching access to wp-cron.php?

Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Automatic newsletter not working’ is closed to new replies.