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
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:
- Why can't I open links in Yahoo email classic?Best solution by Yahoo! Answers
- Why does my email delete button does not work?Best solution by Yahoo! Answers
- Why doesn't launchcast radio work in yahoo messenger?Best solution by Yahoo! Answers
- Yahoo web page is not coming up. Why?Best solution by Yahoo! Answers
- Why won't my "attach" work in yahoo mail?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.