{"id":16401,"date":"2026-10-20T16:46:54","date_gmt":"2026-10-20T15:46:54","guid":{"rendered":"https:\/\/brennigjones.com\/blog\/?p=16401"},"modified":"2026-10-21T02:40:37","modified_gmt":"2026-10-21T01:40:37","slug":"php-emaul","status":"publish","type":"post","link":"https:\/\/brennigjones.com\/blog\/?p=16401","title":{"rendered":"php emaul"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I publish a monthly email newsletter for <a href=\"https:\/\/savenottinghamairfield.org\/\" data-type=\"link\" data-id=\"https:\/\/savenottinghamairfield.org\/\" target=\"_blank\" rel=\"noopener\">the campaign<\/a>. It normally gets sent to the subscribers on the last day of the month, but this month&#8217;s edition went out yesterday (19th October 2026) for reasons. Except it nearly didn&#8217;t. Pull up a seat, dear reader, and I&#8217;ll tell you all about it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yesterday afternoon I&#8217;d written the first draft, saved it, then hit the &#8216;send test&#8217; button, which I normally do when I&#8217;d like to see how the draft looks on various mobile devices and on a laptop. Except, immediately after I hit the &#8216;send test&#8217; button, nothing happened. I neither received an acknowledgement (usually do) nor received an email (usually do).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So. obviously, I began peeling back the layers. The newsletter function was working perfectly, so I saved the draft newsletter and moved on to the SMTP mailout function. This *seemed* to be working fine but I treated the result with caution and moved on to the php mailer and there it was. A little puddle of nothing much to look at. Nope, it was all good. So I shifted back to the SMTP mailout, disabled it, built a new SMTP mailserver, added a mailout function from scratch, checked the outbound SMTP address (it was all good, obviously), loaded all the usual port and security gubbins into the new SMTP mailserver, loaded the newsletter function and recalled the saved draft, hit &#8216;send test&#8217; and Robert was indeed your Mother&#8217;s Brother because I got the acknowledgement and received a test email.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The only possible cause that springs to mind is when I upgraded the core php to 8.2, somehow the mailout function on the SMTP server broke. Nothing was lost, nothing needed recovering from backups and, despite the breakdown, the logs were still intact. Maybe I need to build a new test routine after upgrading php versions?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I publish a monthly email newsletter for the campaign. It normally gets sent to the subscribers on the last day of the month, but this<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16401","post","type-post","status-publish","format-standard","hentry","category-stuff","two-columns"],"_links":{"self":[{"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/16401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16401"}],"version-history":[{"count":3,"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/16401\/revisions"}],"predecessor-version":[{"id":16405,"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/16401\/revisions\/16405"}],"wp:attachment":[{"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brennigjones.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}