This code snippet will email every new post to the moderator(s) of the forum the post is in, *and* the main administrator of the whole board (user #2). The email goes out at the time of the post, and contains the forum name, subject, and body of the posted message.
It mimics the behavior of UBB.Classic. Instructions are in the attachment.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.