Forum: ASP Classic |
Thema:
Re: Beim EMailsversand mit CDONTS laden diese immer in der Queue |
Von:
G. Guest (
26.09.2003 15:51) |
Hallo Hannes,
habe noch eine Frage!
Folgender Code:
<% @LANGUAGE = VBScript %>
<%
Option Explicit
Dim objMail, htmlText
Set objMail = Server.CreateObject("CDONTS.NewMail")
htmlText = htmlText
objMail.From = "mitarbeiter@intranet.de"
objMail.To = "paul.sellinger@evo-ag.de"
objMail.Subject = "Mitarbeiter Anfrage/Mitteilung"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = htmlText
objMail.Send
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Informationen der EVO ::: POP-UP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="/evo-i.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" height="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="40" colspan="2" bgcolor="#9999C2"><img src="img/pop_hg-bg-br.jpg" width="760" height="40"></td>
</tr>
<tr>
<td width="40" valign="top" background="/img/pop_hg.gif" bgcolor="#9999C2"><img src="/img/pop_hg-li.jpg" width="40" height="60"></td>
<td width="720" valign="top">
<table width="100%" height="36" border="0" cellpadding="15" cellspacing="0" class="tab-cont-01">
<tr>
<td class="18-b-b"><strong> Johannes Böttcher</strong>
<br>
<span class="11-n-b">1964, verheiratet, drei Kinder</span><br>
</td>
</tr>
</table>
<table width="100%" cellpadding="15" cellspacing="0" class="12-n-b" >
<tr>
<td colspan="2" valign="top"><strong>
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="12-n-b">
<tr>
<td><table width="100%" border="0" cellpadding="4" cellspacing="0" class="12-n-b">
<tr>
<td valign="top"><strong>1981</strong> begann ich meine
Lehre zum Energieanlagen-Elektroniker bei der EVO. Danach
(<strong>1985</strong>) wechselte ich ins Kraftwerk um
eine weitere Ausbildung in Richtung Kraftwerkstechnik
zu absolvieren.<br> <br> <strong>1988</strong> wurde ich
Kraftwerker und<br> <strong>1989</strong> legte ich meine
Kraftwerksmeisterprüfung ab.<br>
Seit dem arbeite ich als Schichtmeister in unserem HKW.<br>
<br>
Bereits <strong>1984</strong> wurde ich in den Betriebsrat
gewählt. <br>
Meine Schwerpunkte im Betriebsrat sind die wirtschaftlichen
Angelegenheiten der EVO (Auswertung von Zahlen, Daten,
Fakten) und Arbeitszeit, hier insbesondere Schichtpläne.<br>
<br> <strong>Privat</strong> interessiere ich mich für
meinen Garten und Fotografie. Außerdem bin ich gerne
mit dem Fahrrad unterwegs und mache Musik (Rockband).
<br></td>
<td><img src="tm1/betriebsrat/vis_b%F6ttcher_200.jpg" width="200" height="257"></td>
</tr>
<tr>
<td colspan="2" valign="top"><strong>Hier haben Sie die
Möglichkeit Kontakt mit mir aufzunehmen.<br>
<br>
<br>
</strong>
<form name="br_mail" method="post" action="<%= Request.ServerVariables("CDONTS.NewMail") %>">
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="12-n-b">
<tr>
<td><strong>Name</strong></td>
<td><input type="text" name="Name" ></td>
</tr>
<tr>
<td><strong>e-Mail</strong></td>
<td><input type="text" name="e-Mail" ></td>
</tr>
<tr>
<td><strong>Telefon</strong></td>
<td><input type="text" name="Telefon" ></td>
</tr>
</table>
<strong></strong> <br>
<br>
<strong>Ihre Anfrage/Mitteilung:</strong><br>
<textarea name="Dialog" cols="50" rows="5" id="Dialog" value= "<%= formDialog %>" ></textarea>
<br>
<br>
<input name="Submit" type="submit" class="11-b-b" value="Senden">
</form></td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
</tr>
</table></strong></td>
</tr>
</table>
<table width="100%" height="40" border="0" cellpadding="5" cellspacing="0" bgcolor="#cc0000">
<tr>
<td align="right" class="10-n-w"><a href="JavaScript:window.close();" class="11-b-hg"><strong>Fenster
schließen</strong> <img src="/img/ico_fs.gif" border="0" align="absmiddle"></a> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
Ich möchte meine Formularfelder in der Email ausgeben.
Wie muss ich mein "objMail.BodyFormat " deffinieren?
Vielen Dank für die Hilfe!
Gruß
Julia
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!