formular problem in html project

  • Thread starter =?ISO-8859-15?Q?Manfred_Preu=DFig?=
  • Start date
?

=?ISO-8859-15?Q?Manfred_Preu=DFig?=

hello,
I have incorporated to my site a formular for contact purposes. But as I
checked the formular the mail (with correct contents) opens the
e-mail-client for sending it. This is not what I want. The mail
generated through the form shall be send directly to me without opening
the e-mail-client of the sender. How can I do this?

This is the form code:
<form
action=mailto:[email protected]?subject="Fehlermeldung"
method="post" target="_self" accept-charlist="iso-8859-1"
enctype="text/plain" name="Formular">
<!--Erstes Feld: E-Mail-Adresse; Muss eingegeben werden-->
<label for="EMailEingabe" id="EMailLabel"
class="EFeldLabel">E-Mail-Adresse:&nbsp;<span class="Stern">*</span>&nbsp;
</label>
<input type="Text" name="EMailEingabe" id="EMailEingabeID" value=""
size="40" maxlength="60" class="EFeld" />
<!--Zweites Feld: Name des Absenders; Muss eingegeben werden-->
<label for="NameEingabe" id="NameLabel" class="EFeldLabel">Vorname
Nachname:&nbsp;<span class="Stern">*</span>&nbsp;
</label>
<input type="Text" name="NameEingabe" id="NameEingabeID" value=""
size="40" maxlength="60" class="EFeld" />
<!--Drittes Feld: Wohnadresse -Straße; Optional-->
<label for="StrasseEingabe" id="StrasseLabel"
class="EFeldLabel">Straße:&nbsp; &nbsp;&nbsp;
</label>
<input type="Text" name="StrasseEingabe" id="StrasseEingabeID"
value="Keine Strasse" size="40" maxlength="60" class="EFeld" />
<!--Viertes Feld: Wohnadresse -Ort mit PLZ; Optional-->
<label for="OrtEingabe" id="OrtLabel" class="EFeldLabel">PLZ und
Ort:&nbsp;&nbsp;&nbsp;
</label>
<input type="Text" name="OrtEingabe" id="OrtEingabeID" value="Kein
Ort" size="40" maxlength="60" class="EFeld" />
<!--Fünftes Feld: Wohnadresse -Land; Optional-->
<label for="LandEingabe" id="LandLabel"
class="EFeldLabel">Land:&nbsp;&nbsp;&nbsp;
</label>
<input type="Text" name="LandEingabe" id="LandEingabeID"
value="Kein Land" size="40" maxlength="40" class="EFeld" />
<!--Sechstes Feld: Der Text des Ganzen; Muss eingegeben werden-->
<label for="TextEingabe" id="TextLabel" class="EFeldLabel">Text der
Nachricht:&nbsp;<span class="Stern">*</span>&nbsp;
</label>
<textarea name="TextEingabe" id="TextEingabeID" cols="30" rows="12"
class="EFeld">
</textarea>
<!--Die Buttons am Schluss-->
<label for="Button" id="ButtonLabel" class="EFeldLabel">Was soll
nun geschehen?
</label>
<input type="Submit" name="SendButton" id="SendButtonID"
value="Absenden" class="Button" />
<input type="reset" name="ResetButton" id="ResetButtonID"
value="Zurücksetzen" class="Button" />
</form>

The id and class-attribs in the code are for the external css used for it.

Can anyone help me?

If there is anywhere here an answer fitting to my problem please excuse
the new post and tell me where to find it. I checked for matching posts
but I didn't find any.

greetings an thanks

Manfred
 
J

Jonathan N. Little

Manfred said:
hello,
I have incorporated to my site a formular for contact purposes. But as I
checked the formular the mail (with correct contents) opens the
e-mail-client for sending it. This is not what I want. The mail
generated through the form shall be send directly to me without opening
the e-mail-client of the sender. How can I do this?

This is the form code:
<form
action=mailto:[email protected]?subject="Fehlermeldung"
^^^^^^
Here is your problem. Don't send the form, the "action" parameter, to
"mailto". "mailto" requires the visitor have an email client, if it
works at all! You need to have the "action" point to a mail sending
script that runs on your server, like PHP, Perl, ASP, Python...

The server-side script then takes all the info you collected in your
form and builds the email and send it to your through your hosting
company's mail-server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top