Seite 1 von 1

Hilfe beim Mail Versenden gesucht

Verfasst: 02.10.2007, 07:59
von Pilz
Hallo!
Ich bin auf der Suche nach dem Code für einen Mail - "Button" auf euch gestoßen und sehe das ihr ne menge ahnung habt.

also mein problem ist das ich ein Formular in HTML erstellt habe und es soll am Ende durch klicken eines button eine email an bestimmte / mehrere person gesendet werden.

ich poste einfach mal den code meines formulars

Code: Alles auswählen


<html>
<head>
<title> Gesprächsnotiz </title>
</head>
<body>




<h1><u> Gesprächsnotiz </u></h1>
<form> 
<table>
<tr>
	<th col width="190" align="left"> Datum&#58; </th>
	<th col width="190" align="left"> Uhrzeit&#58; </th>
	<th col width="190" align="left" colspan="3"> Mitarbeiter &#58; </th>
</tr>

<tr>
	<td> <input type="text" name="Eingabe_Datum" size="30"> </td>
	<td> <input type="text" name="Eingabe_Uhrzeit" size="30"> </td>
	<td colspan="3"> 
	<select name="Mitarbeiter">
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	</td>
</tr>

<tr>
	<th align="left" colspan="3"><font color="blue"><u> Kunde&#58; </u></font> </th>
</tr>

<tr>
	<th align="left"><font color="blue"> Name&#58; </th> </font>
	<th align="left"><font color="blue"> Vorname&#58; </th> </font>
	<th colspan="3" align="left"><font color="blue"> Telefon&#58; </th> </font>
</tr>

<tr>
	<td align="left"> <input type="text" name="Eingabe_Name" size="30"> </td>
	<td align="left"> <input type="text" name="Eingabe_Vorname" size="30">	</td>
	<td align="left" colspan="3"> <input type="text" name="Eingabe_Telefon" size="18"></td>
</tr>

<tr>
	<th align="left" colspan="3"><font color="blue"> E-Mailadresse&#58; </font></th>
</tr>

<tr>
	<td colspan="3"> <input type="text" name="Eingabe_E-Mailadresse" size="30"> </td>
</tr>

<tr>
	<th align="left" colspan="3"><font color="blue"> Kommune/Landschatfsverband/Versorgungsamt&#58; </font></th>
</tr>

<tr>
	<td colspan="3"> <input type="text" name="Eingabe_Arbeitsplatz" size="30"> </td>
</tr>

<tr>
	<th align="left" colspan="3"><u> Sachverhalt </u></th>
</tr>

<tr>
	<td colspan="3"><textarea name="sachverhalt" cols="62" rows="5"></textarea></td>
</tr>

<tr>
	<th align="left"><input type="checkbox" name="sachverhalt" size="10">Info </th>
	<th align="left"><input type="checkbox" name="sachverhalt" size="10">Auftrag </th>
	<th align="left"><input type="checkbox" name="sachverhalt" size="10">Frage </th>
</tr>

<tr>
	<th align="left"><input type="checkbox" name="sachverhalt" size="10">Störung </th>
	<th align="left"><input type="checkbox" name="sachverhalt" size="10">Sonst. </th>
</tr>

<tr>
	<td colspan="3"> &nbsp </td>
</tr>

<tr>
	<th align="left"><u> Dringlichkeit&#58; </u></th>
	<th align="left"><input type="checkbox" name="dringlichkeit">sehr hoch </th>
	<th align="left"><input type="checkbox" name="dringlichkeit">hoch </th>
</tr>

<tr>
	<th> &nbsp </th>
	<th align="left"><input type="checkbox" name="dringlichkeit">mittel </th>
	<th align="left"><input type="checkbox" name="dringlichkeit">niedrig </th>
</tr>

<tr>
	<td colspan="3"> &nbsp </td>
</tr>

<tr>
	<th align="left" colspan="3"><u> Maßnahmen&#58; </u></th>
</tr>

<tr>
	<td colspan="3"><textarea name="maßnahmen" cols="62" rows="5"></textarea></td>
</tr>

<tr>
	<td> &nbsp </td>
</tr>

<tr>
	<td align="left"><select name="Team">
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	</td></select>
</tr>

<tr>
	<td> &nbsp </td>
</tr>

<tr>
	<th align="left" colspan="3"><u> Lösungen/Workarounds&#58; </u></th>
</tr> 

<tr>
	<td colspan="3"><textarea name="lösungen/workarounds" cols="62" rows="5"></textarea></td>
</tr>

<tr>
	<td colspan="3"> &nbsp </td>
</tr>

<tr>
	<th align="left" colspan="3"><u> Rückmeldung an Kunden&#58; </u></th>
</tr>

<tr>
	<td align="left"> an&#58; </td>
	<td align="left"> Datum&#58; </td>
	<td align="left"> Mitarbeiter  </td>
</tr>

<tr>
	<td> <input type="text" name="Eingabe_Rückmeldung_an" size="30"> </td>
	<td> <input type="text" name="Eingabe_Rückmelde_Datum" size="30"> </td>
	<td> 
	<select name="Mitarbeiter">
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	<option> -Frei- </option>
	</td>
</tr>

<tr>
	<td colspan="3"> &nbsp </td>
</tr>

<tr>
	<th align="left" colspan="3"> Status&#58; </th>
</tr>

<tr>
	<td><input type="checkbox" name="in Arbeit" size="10">in Arbeit </td>
	<td><input type="checkbox" name="in Arbeit" size="10">erledigt </td>
</tr>

<tr>
	<td colspan="3"> &nbsp </td>
</tr>
</body>
</table>
		<input type="reset" value="Zurücksetzten"> 
		<form action="0">
		<input type="button" value="Als EMail versenden" onclick="parent.location='mailto&#58;beispile@bla.de'">
		</form>

</form>
</html>
Problem:

Ich schaffe es einfach nicht das die Email den Inhalt sowie den betreffe automatisch angibt.....geschweige den das ich voher auswählen kann wer die mail bekommen soll.
Ich bitte um Hilfe.
Danke mfg Pilz[/code]

Verfasst:
von

Verfasst: 02.10.2007, 19:13
von mixitall
Servus,

ich habe solche Dinge immer mit php gelöst, liegt das im Bereich deiner Möglichkeiten?

Der Code ist übrigens viel zu lang, da wird sich kaum jemand durcharbeiten ;-)

Verfasst: 03.10.2007, 17:59
von Pilz
ja php kenn ich mich nicht aus....

und ich kann den code auch leider nich kürzer machen.
ich bin im praktikum in nem IT betrieb und da musste ich das machen
und ich kann das eben leider nich kürzen....

naja vll schaut sich das doch einer mal an