Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ryanabender

    (@ryanabender)

    Update: For future reference, I finally got resolution. The mail was being attempted by a local sendmail instead of the WordPress mechanism as defined by the plugin “WP Mail SMTP” (specifically for the use case for easy web-based configuration or where you cannot modify the PHP.ini). I chose that plugin because the WordPress instance is a Docker image which (by virtue of being minimal) didn’t have sendmail. The solution was to build on the official Docker image, adding the package “msmtp-mta” (for those not familiar it’s a minimal message transfer agent pointing to a real SMTP server). The msmtp config file has the SMTP info which is mapped in the docker-compose.yml file. What pointed me in that direction was the troubleshooting plugin named “Check Email” that output displayed a sendmail command …it was strange the other test email plugins worked fine but for some reason STC plugin didn’t work until MSMTP was setup. If this happens to someone else, before going through the trouble please double-check all the STC configuration as Sidney was kind enough to give suggestions. Cheers.

    Thread Starter ryanabender

    (@ryanabender)

    Oh, yes, sorry I meant to mark it as resolved.

    Thread Starter ryanabender

    (@ryanabender)

    Thanks for taking the time to explain it. I understand how it’s supposed to work, sorry I wasn’t clear that I’m looking for ways to troubleshoot why it’s not working.

    I created a new category, added that category to my own user (with a valid email address), and posted a new blog post for that category. The STC settings page showed 1 post but after the cron job cleared it, I didn’t receive the email and my email server does not show an attempted connection.

    If you don’t know where I can look to view the logic, or somewhere in the database, then I’ll look for other options, maybe rollback to a backup from last week. I sincerely appreciate your time to review it, but I won’t grant admin access to my private site. There must be an issue on my environment since this is not happening to others. Thanks again.

    Thread Starter ryanabender

    (@ryanabender)

    Thanks for your quick response. The configuration looks right to me – the categories of this:

    /wp-admin/edit-tags.php?taxonomy=category&post_type=stc

    are the same as without the &post_type=stc

    When I click on the View link of the list, the post that I want to send email

    /?cat=4

    appears on the resulting page as expected. I should have said earlier I have been using the plugin successfully for 6 months (it’s really great by the way). It probably stopped working my last weekends WordPress upgrade (and corresponding plugin upgrade). I upgrade every couple weeks, and attempt to send an email every week. I am not sure how I could downgrade/rollback if that is an option. I imagine finding the issue and fixing it would be the best solution. I figured that if something was wrong in the environment then a reinstall would fix it. Neither the Cron job nor the Send Now button actually sends the email so I don’t think the Cron job is the issue.

Viewing 4 replies - 1 through 4 (of 4 total)