Hurrah! I’ve fixed it. Thank you for finding that for me.
I believe the “thank you for contacting” message now works, although the redirect happens so quickly that it was hard to see the message. I think I will remove the redirect.
One thing though: the “thank you for contacting” message is in a very bright, hard-to-read blue. How can I change that colour in the plugin settings?