# Error using PHP Contact Form

**URL:** <https://forum.kirupa.com/t/error-using-php-contact-form/309695>\
**Category:** programming\
**Created:** [May 21, 2010, 5:49pm UTC](https://forum.kirupa.com/t/error-using-php-contact-form/309695 "2010-05-21T17:49:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterc46](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@peterc46](https://forum.kirupa.com/u/peterc46)\
**Post date:** [May 21, 2010, 5:49pm UTC](https://forum.kirupa.com/t/error-using-php-contact-form/309695/1 "2010-05-21T17:49:08Z")

</div>

I tested the form from this site on my GoDaddy site. I got the message “Data has been submitted to …” ok, but that was followed by this error:  
**Warning** : mail() [[function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html](http://beamstrider.com/test/function.mail). in **D:\Hosting\xxxxxx\html est\mailer.php** on line \*\*23.

\*\*The test message did not get sent (I never received it, and I did set my real email address into the code).

The URL link goes to a page that talks about ‘bare line-feeds in mailing’ problems - as far as I can see there are none in the script.

Line 23 is: mail($to, $subject, $body);  
though the actual cause of the error is probably elsewhere.

Does anyone have any idea what is going on here?
