CDONTS hatası

Hata CDONTS tan kaynaklanıyorsa ;

CDONTS “regsvr32 -u cdonts.dll” komutuyla kaldırılıp tekrar kurulur.

————————————————————————————-

Persits ile alakalıysa aşağıda doğru Persits uygulaması var ;

<%
‘ change to address of your own SMTP server
strHost = “smtp.broadviewnet.net”

If Request(“Send” ) <> “” Then

Set Mail = Server.CreateObject(“Persits.MailSender” )
‘ enter valid SMTP host
Mail.Host = strHost

Mail.From = Request(“From” ) ‘ From address
Mail.FromName = Request(“FromName” ) ‘ optional
Mail.AddAddress Request(“To” )

‘ message subject
Mail.Subject = Request(“Subject” )
‘ message body
Mail.Body = Request(“Body” )

strErr = “”
bSuccess = False
On Error Resume Next ‘ catch errors
Mail.Send     ‘ send message
If Err <> 0 Then ‘ error occurred
strErr = Err.Description
else
bSuccess = True
End If
End If
%>