Why doesn't Yahoo email search work?

Why doesnt PHP email forms work with Yahoo Web Hosting?

  • I have NEVER been able to get an email form to work using a PHP action with Yahoo Webhosting. The email never comes to my inbox. I went into PHP settings and entered [email protected] as the default to where it will "send all emails", and when u hit submit, the new page displays and redirects back to home page fine.... but still never a single email arrives. What ridiculous trick/loophole needs to be used to get this to work with yahoo webhosting (and no I will not use the joke of a program "sitebuilder" haha) HERE IS MY CODE.... <?php /*Email Variables*/ $emailSubject = 'form'; $webMaster = '[email protected]'; /*Data Variables*/ $email = $_POST['email']; $name = $_POST['name']; $comments = $_POST['comments']; $body = <<<EOD <br><hr><br> Name: $name<br> Email: $email<br> Comments: $comments<br> EOD; $headers = "From: $email\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail ($webMaster, $emailSubject, $body, $headers); /*Results Rendered As HTML*/ $theResults = <<<EOD <html> <head> <title>Message Sent</title> <meta http-equiv="refresh" content="3;URL=http://www.boomer-t.com"> <style type="text/css"> <!-- body{ background-color: #000055; color: #FFC211; font-size: 30px; padding-top: 200px; margin-left: auto; margin-right: auto; width: 700px; } --> </style> </head> <div align="center">Your message has been sent.<br>You will be redirected back to our home shortly.</div> </body> </html> EOD; echo "$theResults"; ?> Thanks in advance

  • Answer:

    The best people to answer your question would be the folks at Yahoo! Hosting. I'm sure you have access to some sort of customer service or technical support.

Dillon at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Maybe your hosting account simply does not allow execution of PHP code or unauthenticated access to SMTP relay servers.

you need to get with yahoo hosting and see if they have the mail() operable. Some hosting does not allow it because if spamming.

php is a whole nother thing from http which yahoo uses. that's why it won't work

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.