IcedDEVIL: Automatischer Versand von Emails

Beitrag lesen

irgendwie will der keine mails wegschicken,oder ich hab das alles falsch verknüpft...

<html><head><title>Test</title>
<script language="JavaScript">
<!--

Const cstCdoBodyFormatHTML = 0
Const cstCdoBodyFormatText  = 1
Const cstCdoLow    = 0   ' Low importance
Const cstCdoNormal = 1   ' Normal importance (default)
Const cstCdoHigh   = 2   ' High importance

strBetreff = "HTML-Nachricht"
strNachricht = "Dies ist eine <u>Textnachricht<u>,<br>" & VbCrLf
strNachricht = strNachricht & "generiert vom <i>NewMail Objekt</i>.<br>"
strEmpaenger = "Thomas.Pauler@BMW.de"
strAbsender = "Thomas.Pauler@BMW.de"

//-->
</script>
</head>
<body>
<%
Set objNewMail = CreateObject("CDONTS.NewMail")
objNewMail.BodyFormat = cstCdoBodyFormatHTML
objNewMail.Importance = cstCdoHigh
objNewMail.From = strAbsender
objNewMail.To = strEmpaenger
objNewMail.Subject = strBetreff
objNewMail.Body = strNachricht
objNewMail.Send
Set objNewMail = Nothing
%>
mailtest
</body>
</html>

keine ahnung,kannst du mal schnell drüber fliegen?wo ist der haken?

Thomas