xUSR
-
Posts
10 -
Joined
-
Last visited
Never
Posts posted by xUSR
-
-
any idea why i am failing to receive an e-mail in my inbox upon hitting submit?
-
I changed it back, still no e-mail in my inbox though. when i submit the form data it just redirects me to sendmail.php, a blank page
-
I am actually creating it all through notepad, including the php files
edit:
just opened up sendmail.php to double check and it looks like it has been changed to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>
<body>
<p><?php<br />
<br />
$emailSubject = 'Insight Application';<br />
$webMaster = 'm1f7@aol.com';<br />
<br />
$emailField = $_POST['email'];<br />
$nameField = $_POST['name'];<br />
$phoneField = $_POST['phone'];<br />
$budgetField = $_POST['budget'];<br />
$travelersField = $_POST['travelers'];<br />
$newsletterField = $_POST['newsletter'];<br />
<br />
$body = <<<EOD<br />
<br><hr><br><br />
Email: $emailField <br><br />
Name: $nameField <br><br />
Phone Number: $phoneField <br><br />
Budget: $budgetField <br><br />
Newsletter: $newsletterField <br><br />
EOD;<br />
<br />
$headers = "From: @email\r\n";<br />
$headers .="Content=type: text/html\r\n";<br />
mail($webMaster, $emailSubject, $body, $headers);<br />
<br />
?></p>
</body>
</html>
-
this is all I see in the error logs:
[Tue Apr 03 13:29:56 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Tue Apr 03 13:29:57 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:58 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[ pid=27441 thr=140266441140192 file=ext/common/LoggingAgent/LoggingServer.h:829 time=2012-04-03 13:29:59.18 ]: Flushing all sinks (periodic action)
[Tue Apr 03 13:29:59 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
[Tue Apr 03 13:29:59 2012] [error] [client 98.118.10.205] File does not exist: /usr/local/apache/htdocs/index.php, referer: http://box810.bluehost.com/~gearwork/
-
www.insightguild.com/phptest.php
lot of info.... can you view this file?
-
yes it is
-
To be honest I am not sure why the code is viewable
-
oops my mistake, fixed that dead link.
-
Hey everyone. I am extremely new to PHP coding and I wanted to take a shot at making a basic mail form submission. I have done a lot of research and cannot get my test files to work. No e-mails get sent to me. I appreciate any help you can offer. Here are the following pages:
http://www.insightguild.com/contactformpage.html
http://www.insightguild.com/sendmail.php
(coding is viewable when you navigate to this file)
I am using Bluehost.com as my hosting server. Thanks
PHP Form Mail Help
in PHP Coding Help
Posted
thanks for the help guys, I figured it out. Apparently bluehost.com doesn't allow you to send php form mail to an e-mail address that does not reside on it's server. Once I tried it with the webmaster e-mail address it worked fine.