This form will not send the email to my account and I used other forms to submit emails using examples that I googled but I can't get this form to process the request. Can someone tell me what i'm missing? my PHP Form: - <html>
-
<HEAD>
-
<TITLE>Demetrius's Customer Form</TITLE>
-
-
</HEAD>
-
<BODY BGCOLOR="#F6B28F">
-
<HR>
-
<H1><FONT FACE="Arial"><FONT COLOR="004E4A">Demetrius's Customer Form</FONT></H1>
-
<HR>
-
-
<p>In order to serve you, please tell us your problem:</p>
-
<form method="post" action="mycustomeremail.php">
-
-
<H3>THanks for visiting my customer service site I am so glad that i can serve you. </H3>
-
-
<BR>Report your issue
-
-
<fieldset>
-
<legend>Send Email</legend>
-
-
<p>Email: <input type="text" name="email" size="60"></p>
-
-
<p><label for="subject">Subject:</label><input type="text" id="subject"></p>
-
-
<p><label for="message">Message:</label><br/>
-
-
<TEXTAREA id="message" name="message" rows="10" cols="70" WRAP="hard">
-
</TEXTAREA>
-
-
<p><input type=submit value="Submit"> <input type=reset value="Reset"></p>
-
-
</FORM>
-
</BODY>
-
</HTML>
PHP Script: - <html>
-
<head>
-
<title>My Customer Email</title>
-
</head>
-
<body>
-
-
<?php
-
$msg = "Thank you for allowing us to server you.";
-
$today = date("02/16/2011");
-
$msg = $msg . "<br/>" . $today;
-
$name = $_POST["name"];
-
$email = $_POST["email"];
-
echo $name . " (" . $email . ")<br /> " . $msg;
-
-
echo $msg; //display message
-
?>
-
-
</body>
-
</html>
4 2011 Dormilich 8,658
Recognized Expert Moderator Expert
you don’t have any PHP code (posted) that is sending an email.
you should use a PHP mail() or sendmail function to send mail. Both are not present in this this code.
mail($_POST['email'],"Subject text Here",$msg);
done..
lol you dont need the [' but ok :)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Andrew Williams |
last post by:
Hi,
I have just created a web form that should send its
details to an e-mail address. The problem is that I was
working on the pretense that CDONTS would suffice my
needs.
However, after working with it for a few days (and
nights), it finally came to my attention that it will
only send 'To, From, Subject, Body' information and not
|
by: Bruce W.1 |
last post by:
I'm new to ASP (but not ASP.NET) and I'm trying to setup a simple ASP
web form to send an email to me. So I try this code:
http://www.library.unr.edu/subjects/guides/mailplay.asp
I upload the web page file to my hosting company, which is running
Windows 2000, and I get this error message:
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/mailplay.asp, line 63
|
by: mhawkins19 |
last post by:
I have a form built and on the onclick event I validate all of the
fields and then if the form is ok, on the submit event I run a
javascript function to set a cookie and download a file from the
current window.
I have a cgi script provided by my web host to send the contents of the
form through email but they only show me how to use the cgi script to
send email through the submit event of the form.
ie. <form name="downloadform"...
|
by: eswanson |
last post by:
I have a web page I need to post a file plus some other fields to it. How
can I do this from a asp.net page. I know I can send individual fields to the
other page, but how do I send a file to the other page, or is there something
else like a stream which will be like a file. I am attempting to get a way
from writing out a file and then having to give the page that I am posting to
the file name. Instead I would like to just from asp.net...
|
by: Eric Peterson |
last post by:
I need to pop up the send email form from Outlook. I
also need to populate the to field, but obviously the
user will type the message and hit 'SEND'. How can I do
this? I've been through various examples, and they're
all about automating email within vb, I only want to
automate 1/2 the process. Thanks for help.
Eric
| |
by: John |
last post by:
Hi,
I have a question to ask in how to send e-mail through a program written
by VB.Net with the help of MS Word and Outlook?
The platform will be like this:
OS - Win 2K Pro
Office 2000 with MS Word and Outlook
DB - SQL Server
|
by: shahnawaz shaikh |
last post by:
hi,
I want to send email to customer weekly or monthly autometicaly.
we fech email id from one table and send email weekly to that customer if his status is weekly and so on.
|
by: Malli mindwave |
last post by:
Hi,
We are using the yahoowebHostiing service for my company website, In
that one screen of the SendComments/FeedBack section is there, I'm
basically dot.net develeoper ,but yahoowebhosting not
support .asp,.aspx files, it supports PHP files,
I'm searching in JavaScript ,but not found any matter,
I'don't Know PHP.I'm having lot of pressure of higer officials.Please
help me on this.
|
by: canajien |
last post by:
I have a form that stores information in a table, but I also need it
to send an email when a specific question, among the many, is answered
with no
the question is a simple drop box:
<select name="safe_access">
<option value="0"></option>
<option value="yes">Yes</option>
<option value="no">No</option>
|
by: PrabodhanP |
last post by:
I want to send form data to email using ASP (post method). I am trying following script but it's not working.Please suggest. Also suggest how to redirect it after pressing submit button.
<%
Dim name, phone,city, email, mail
name=Request.Form("name")
phone=Request.Form("phone")
city=Request.Form("city")
email=Request.Form("email")
Response.Write("Name: " & name & "<br />")
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |