Hello,
Please do the following:
Create an empty file "test.asp" and copy the below text into the file:
Quote:
<%
strTo = "youremail@address.com"
strFrom = "sender@yourrerver.com"
strSubject = "Subject Here"
strMessage = "MessageBody"
sendMail strTo, strFrom, strSubject, strMessage
Sub sendMail(sTo, sFrom, sSubject, sMessage)
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "127.0.0.1"
Mail.Subject = sSubject
Mail.From = sFrom
Mail.AddAddress sTo
Mail.Body = sMessage
Mail.SendToQueue
Set Mail = Nothing
End Sub
%>
Replace "youremail@address.com" with your real email address and upload this file onto your web server. Then try to open this file on server in your browser. What the does the server response?
If the server says "Server.CreateObject Failed" please consult with your ISP provider, which email component is available? It might be ASPEMail, CDOSYS, JMail, IPWorks, or other mail components. If the supported email component requires authentification for sending emails please ask your ISP about authentfication settings.
Best regards