Submit a Ticket
Support Center » Knowledgebase » E-Mail » Persist's aspmail

Persist's aspmail

Persist's aspmail sample:

<%
Dim ObjSendMail
Set ObjSendMail = Server.CreateObject("Persits.MailSender")

ObjSendMail.Host = "mail.somesite.com"
ObjSendMail.From = "[email protected]"
ObjSendMail.FromName = "someone"
ObjSendMail.AddAddress "[email protected]"
ObjSendMail.Subject = "your subject"
ObjSendMail.Body = "your email body"

Our email server requires SMTP Authentication. Replace the username and password below.
ObjSendMail.Username = "SMTPUsername"
ObjSendMail.Password = "SMTPPassword"

On Error Resume Next

ObjSendMail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If

Set ObjSendMail = nothing
%>

Also please check user guideĀ here .

 This answer was helpful  This answer was not helpful
 Back