Sites switched to GoDaddy now forms won't send

the mail() function

Moderators: macek, egami, gesf

salex248
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Mar 15, 2012 11:04 am

Sites switched to GoDaddy now forms won't send

Postby salex248 » Thu Mar 15, 2012 11:12 am

Hello,

I am a small website designer with no PHP experience. I came across a PHP code online a couple of years ago to use on my client's contact forms. It has always worked until earlier this week I moved all my client's sites to GoDaddy hosting. Now I get an error when the submit button is clicked and the results don't go through.

The error:

Warning: mail() [function.mail]: Bad parameters to mail() function, mail not sent.

It then says the error is in line 117 which is:

mail($my_email,$subject,$message,$headers);

Any help you could give me would be greatly appreciated. It has always worked until I moved to GoDaddy hosting. Thank you.

Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest