If anyone else sees this and is initially confused by why the solution would be the closing curly-brace of the else block, in the above quoted code, the line is line 14. In the original php file, it’s line 24.
In other words, change this line:
$message = convert_chars($the_post['post_content']);
Patrick,
THANKS! 🙂 That’s exactly what I needed, for the exact same reason as you.
Jon