formular problem in html project

Discussion in 'HTML' started by =?ISO-8859-15?Q?Manfred_Preu=DFig?=, Apr 18, 2007.

  1. 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:?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
     
    =?ISO-8859-15?Q?Manfred_Preu=DFig?=, Apr 18, 2007
    #1
    1. Advertising

  2. Manfred Preußig wrote:
    > 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:?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.

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Apr 18, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Maldo
    Replies:
    0
    Views:
    625
    Maldo
    Feb 27, 2006
  2. Jochen Fuhrmann

    force a formular just to take numbers

    Jochen Fuhrmann, Oct 5, 2003, in forum: HTML
    Replies:
    9
    Views:
    428
  3. Clemens Richter

    HTML Formular question

    Clemens Richter, Nov 7, 2003, in forum: HTML
    Replies:
    1
    Views:
    442
    Steve Pugh
    Nov 7, 2003
  4. Wanadoo
    Replies:
    0
    Views:
    593
    Wanadoo
    Jun 18, 2006
  5. Markus Stein
    Replies:
    1
    Views:
    423
    Jonathan N. Little
    Jan 13, 2008
Loading...

Share This Page