I recently was notified that a contact form was no longer working. Mine uses Monstermail, a product from Hostmonster, but it may go by other names on other hosts. The form returns the error
“This can not be accessed this way, you need to have an input field named ‘sendtoemail’”.
This same question was posted on this board but the topic is closed and I have the answer, so I posted another question.
My code does, in fact, an input field named ‘sendtoemail’ but something has changed on the server side.
<input type="hidden" name="sendtoemail" value="me@email.com"/>
This form had been in use for years without any issues.