Php form not working :-(

Hi from sunny 10 degrees C wakefield UK :slight_smile:

On this page:
http://www.pauserefreshment.co.uk/hot_chocolate_machines.html
There is a form at the bottom of the web page and ver since I changed hosting Ive had problems.

Basically www.fasthosts.co.uk informed me that the problem was resoved as the server was changed to dynamic but I still get this error message everytime the form is submitted:

Warning: mail() [function.mail]: SMTP server response: 554 <hello@pause.co.uk>: Recipient address rejected: Relay access denied in E:\domains\p\pauserefreshment.co.uk\user\htdocs\submitform.php on line 122
an error occurred

Ive checked the file submitform.php is uploaded but still no luck.

Can anyone give me any suggestions regarding how to get it working again?

Thanks,
Dave

that script is trying to send out and email as well as do other things, comment out that line for now, and pass that error message onto your hosting company if you really want an email to be sent. I looks like a config problem to me, tho I am no great shakes with email config.

With FastHosts, I think you need to send emails in a particular way.

Perhaps this will help: http://www.fasthosts.co.uk/knowledge-base/?article_id=65

Brilliant thank you I’ll give this a whils in an hour or so :slight_smile: