who is your hosting company?
in the settings, what did you enter for the SMTP Server?
It is forwarding to the thankyou.php page so it is trying to pass the email to the smtp server.
Either the smtp server address is not correct, or there is a problem on the smtp server end that is preventing the email from being relayed to the recipient.