WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Enhanced WP Contact Form] Gives error on submit (9 posts)

  1. Tevya
    Member
    Posted 5 years ago #

    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?

  2. Tevya
    Member
    Posted 5 years ago #

    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.

  3. lanpheare
    Member
    Posted 5 years ago #

    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?

  4. Tevya
    Member
    Posted 5 years ago #

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

  5. Tevya
    Member
    Posted 5 years ago #

    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. :(

  6. Joost de Valk
    Member
    Posted 5 years ago #

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

  7. Tevya
    Member
    Posted 5 years ago #

    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.

  8. jollymoon
    Member
    Posted 4 years ago #

    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???

  9. jollymoon
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic