Viewing 5 replies - 16 through 20 (of 20 total)
  • Hi Moshu, your response is really appreciated. I will try to check with Yahoo again, and see if they could at least give me some words. Thanks again! ??

    Thread Starter fbctexhoma

    (@fbctexhoma)

    Could you suggest a better host? Right now I’m paying around $8 a month I think. Any other hosts the same or less than that? (easy installation of WordPress is a must since I’m new at this)

    LeAnn

    Thread Starter fbctexhoma

    (@fbctexhoma)

    Just wanted to let ‘yall’ know that I was able to get a code from here https://www.mycontactform.com that worked for me. Maybe those who use Yahoo will benefit from it.

    LeAnn

    In case if you are using Yahoo! Web Hosting and is still looking for a way to use WP-contact form …

    I’ve just posted the following to another similar thread (63559).

    Maybe this could help…

    I just signed up with Yahoo Web Hosting for my wordpress blog. During the setup of WP-contact form, I also encountered the same problem.

    I did the following and now my form works fine. As I am not familiar with how to write out instruction, if I confuse you further during the following explanation, please forgive me. ??

    Under your Yahoo Web Hosting account, go to Web Hosting Control Panel > Create & Update > php/perl mail setup.

    At PHP/Perl Mail Setup, set your default “From:” field on the right hand side.

    I believe in the attempt to restrict spamming, Yahoo requires all PHP mails to specify a from: and to: address that is in your own domain.

    Then, go to wordpress dashboard and locate Plugin Editor.

    Open the wp-contact_form.php file, scroll down to the following:

    if(wpcf_check_input()) // If the input check returns true (ie. there has been a submission & input is ok)
    {

    ******ADD the following line:******
    $from = “[email protected]”;
    $recipient = get_option(‘wpcf_email’);
    (make sure your email address set up under Contact Form Options is an address within the domain as well!)
    $subject = get_option(‘wpcf_subject’);

    Scroll through the section on $success_msg = get_option(‘wpcf_success_msg’);

    At the following $headers, add $from; before $name <$email>\n” so that when the email is generated, we’ve fulfilled the Yahoo! requirement;

    $headers = “MIME-Version: 1.0\n”;
    $headers .= “From: $from; $name <$email>\n”;
    $headers .= “Content-Type: text/plain; charset=\”” . get_settings(‘blog_charset’) . “\”\n”;

    At the $fullmsg, I’ve added a line to see the email address of the sender but you can omit it:

    $fullmsg = “$name wrote:\n”;
    $fullmsg .= wordwrap($msg, 80, “\n”) . “\n\n”;
    $fullmsg .= “Website: ” . $website . “\n”;
    $fullmsg .= “Email: ” . $email . “\n”;
    $fullmsg .= “IP: ” . getip();

    mail($recipient, $subject, $fullmsg, $headers);

    Please let me know if it also works for you …

    Update to my previous post…

    I just found out that you can actually skip the step at Yahoo Web Hosting on PHP/Perl Mail Setup.

    Simply make the necessary change with the WP-Contact Form and the contact form would work fine.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Contact form not working’ is closed to new replies.