Asp Email Test Script
Following is the Asp mail test script.
aspemail.asp
<%
' First Step is to create the AspEmail message object
Set Mail = Server.CreateObject("Persits.MailSender")
' Set the from address - replace value within the quotes with your own
Mail.From = "test@dnadeath.org"
' Add the e-mail recipient address - again replace value within the quotes with your own
Mail.AddAddress "mail address "
' Set the subject for the e-mail
Mail.Subject = "Test AspEmail script by IH Tech"
' Create the body text for the e-mail
Mail.Body = "Test AspEmail script by IH Tech"
' The mail server requires that we authenticate so supply username and password
Mail.Username = "mail address"
Mail.Password = "mail account password"
' The e-mail is now ready to go, we just need to specify the server and send
Mail.Host = "localhost"
Mail.Send
' Mail is sent - tidy up and delete the AspEmail message object
Set Mail = Nothing
%>