WordPress.org

Ready to get started?Download WordPress

Forums

Contact form not working (21 posts)

  1. fbctexhoma
    Member
    Posted 8 years ago #

    I'm trying to get a contact form (as a prayer request form) on my blog and I've tried several plugins but none of them seem to work. I can add them and fill them out just fine but I never get the email!
    http://fbctexhoma.com/blog1/category/prayer-requests/

  2. darkmis29
    Member
    Posted 8 years ago #

    I've been having a similar problem using the plugin by Ryan Duff at:

    http://ryanduff.net/projects/wp-contactform

  3. moshu
    Member
    Posted 8 years ago #

    Very often hosts set up the server that it will allow only emails sent to an address from your domain.
    Meaning, if you use a yahoo, gmail etc. email for the form, the messages will never go through.
    This one is also a very good plugin:
    http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/
    and some users encountered the same problem until they changed the email address.

  4. Jonathan Landrum
    Member
    Posted 8 years ago #

    It almost looks like you've got the form in a post rather than a page. I believe I'm using the same plugin you are; is it PXS Mail Form? The way I did it was to make a new WP page and add the {mailform} tag.

    Also, is the email address you specified able to receive email otherwise? Is this truly a problem with the form, or is it a problem with the email address?

  5. fbctexhoma
    Member
    Posted 8 years ago #

    Yes it was in a post but even after putting it in a page it still doesn't work. And I'm using an email address from within my domain. I've tested it with Outlook and it does work from there. Now what??

  6. moshu
    Member
    Posted 8 years ago #

    Has any kind of mail form ever worked on that server? Did you get an email when you installed your WordPress there (with the greeting and user/pw)?

  7. fbctexhoma
    Member
    Posted 8 years ago #

    No, no mail form has ever worked. Just to be clear I'm using Yahoo Small Business web hosting. (I don't recall ever getting a greeting email either.) You suppose it's the server?

    LeAnn

  8. moshu
    Member
    Posted 8 years ago #

    That sucks. I mean your host.
    No, probably no "normal" mailform will work on that host. I remember a year ago I had to modify Ryan's plugin to make it work on Y. for a client, but I can't find what I did. Sorry :(

  9. fbctexhoma
    Member
    Posted 8 years ago #

    Oh ok, well if anyone knows how to get it to work on Yahoo please let me know!

  10. fbctexhoma
    Member
    Posted 8 years ago #

    Can I create a page within Yahoo with their email forms but integrate it into wordpress somehow?

    LeAnn

  11. moshu
    Member
    Posted 8 years ago #

    You can try. If their form give you some code... the best way to go: make a Page Template (see the Codex) and put the code in there. Then create a new Page by using that template.

  12. fbctexhoma
    Member
    Posted 8 years ago #

    I'll try that, thanks!

  13. ahlife
    Member
    Posted 8 years ago #

    I posted my contact form on "page" and it worked for me for a month, but now it is not working. Double checked my email in user profile and in option and they were matched. Any suggestions? Thanks in advance! (I carefully follow-up similar topics, and I did not get answers that would fix my situation. I don't mean to bug, but I need some clues. Thanks again.)

  14. moshu
    Member
    Posted 8 years ago #

    ahlife,
    did you try to contact your host to see if they have changed anything at the time it stopped working? Sometimes, or should I say: often? - hosts make all kind of upgrades, change settings etc. without letting us know.
    If you are 100% sure you didn't change anything the first thing to do would be to inquire the host.

  15. ahlife
    Member
    Posted 8 years ago #

    Thanks for a reply. I contacted them, and they did not reply me. My server is Yahoo small business too. Besides I missed church sometimes, yahoo missed my prayers more often. I read Yahoo's introduction of wordpress, it said that it wp is a free source, so yahoo would not provide any support. On exactly this statement, I assume they did not do anything in Yahoo side. Therefore, I am very pressed by this situation. I don't mean to bug. (I hope this thread will add up some bigger picture of my siutation: http://wordpress.org/support/topic/15945?replies=36 ) Any comments appreciated. Thanks!

  16. moshu
    Member
    Posted 8 years ago #

    Being hosted at Y. you really get unlucky. They have very strange setup for their servers and they have no clue about the WP. The worst mix you can have.

    Their support is non-existent but the usual fixes and remedies that work on other hosts... are useless over there. Other than getting a decent host - I don't know what to advise. Sorry.

  17. ahlife
    Member
    Posted 8 years ago #

    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! :)

  18. fbctexhoma
    Member
    Posted 8 years ago #

    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

  19. fbctexhoma
    Member
    Posted 8 years ago #

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

    LeAnn

  20. rainangel
    Member
    Posted 8 years ago #

    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 = "your-from-default-in-phpmailsetup@yourdomain.com";
    $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 ...

  21. rainangel
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.