WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Enhanced WP Contact Form] Gives error on submit

[Resolved] [Plugin: Enhanced WP Contact Form] Gives error on submit

  • Warning: mail() [function.mail]: Failed to Send in D:\Hosting\3427291\html\henstrom\wordpress\wp-content\plugins\enhanced-wordpress-contactform\wp-contactform.php on line 178

    Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in D:\Hosting\3427291\html\henstrom\wordpress\wp-content\plugins\enhanced-wordpress-contactform\wp-contactform.php on line 182

    That’s what I see at the top of the page area after hitting submit. What’s wrong, and what can I do about it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I contacted Godaddy to see if they could help, this was their reply:

    Thank you for contacting Online Support. In mail message headers and content, new lines are supposed to be
    denoted by both a carriage return (CR) and a line feed (LF). Your application is using just an LF. If it’s php based, you’ll find lines being
    terminated with “
    ” when they should be terminated with “
    “. It is not an issue with the email server as the server requires both a character return and line feed. This is not something we are able to modify on your behalf.

    Please let us know if we can provide you with further assistance.

    Sincerely,

    Chris B.
    Online Support Technician”

    Any pointers to do what he suggested? I’m not a programmer, but can usually edit code if I have an idea what I’m doing.

    I just installed this into my WP install with godaddy.com and got the same error. Did anyone ever figure out how to fix this?

    I’m no coder, but I could do whatever Godaddy is suggesting, I’m just not sure what I’m inserting or where?

    I sent Yoast a message via his website, asking him to come look at this to see if he could help, but so far no reply and obviously, nothing here. 🙁

    Just sent you a copy of a version that might work better, judging by the comment godaddy gave.

    Thanks Joost! The updated version works great with Godaddy. Just a warning to everyone out there: from my experience, Godaddy is NOT a good WordPress host! If you want to do a WordPress site, avoid Godaddy like the plague.

    joostdevalk:

    What did you code to change the errors on line #182? I am getting errors on:

    111 $c['comment_author'] = $name;
    112 $c['comment_author_email'] = $email;
    113 $c['comment_author_url'] = $blog;
    114 $c['comment_content'] = $_POST['msg'];

    124 $query_string .= $key . '=' . urlencode( stripslashes($data) ) . '&';

    181 $fullmsg .= str_pad("Referer $i: ",20) . $referer. "\r\n";

    198 if ($keywords) {

    Thanks for the help…I could add the \r or \n but I don’t know where???

    I downloaded a fresh copy of your zip file for Enhanced WordPress Contact Form , uploaded it and got the same error…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Enhanced WP Contact Form] Gives error on submit’ is closed to new replies.
Skip to toolbar