Thorsten: (E-MAIL) ASP + mails

Beitrag lesen

Hallo!

Ich poste besser mal das komplette file - ist ja nicht so groß :-)

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Testseite für mails</title>
</head>

<body>

<%

set Mail = Server.CreateObject("CDONTS.newmail")
Mail.Host = "dagobert"                    <!-- mailserver -->
Mail.From = "me@you.com"                  <!-- Testadresse -->  
Mail.FromName = "thorsten"                <!-- From-Name -->
Mail.AddAddress ""                        <!-- Empfänger -->
Mail.AddReplyTo ""                        <!-- Reply-Adresse -->
Mail.Subject = "Nur eine Testmail..."     <!-- Subject -->  
Mail.Body = "just testing"                <!-- Body -->
On Error Resume Next
Mail.Send
If Err & 0 Then
   Response.Write "Error encountered: " & Err.Description
End If

%>

testing
</body>

</html>

Vielleicht hilft das ja weiter :-)

Ciao,
Thorsten