In user-profile.php, I was using code from an older BETA version. I updated the code snippet to BETA version 1.8.1, and confirmation messages are now being sent correctly. However, a minor issue remains: after I confirm the change, the email address displayed under "Current email" does not update immediately—it continues to show the old email—even though the new email appears in the "My Profile" column on the left. The update only takes place after I close the site completely and reopen it using the new email.