Persist's aspmail

Persist's aspmail sample:

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

ObjSendMail.Host = "mail.somesite.com"
ObjSendMail.From = "someone@somesite.com"
ObjSendMail.FromName = "someone"
ObjSendMail.AddAddress "somebodyelse@somesite.com"
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 .

Was this answer helpful?

 Print this Article

Also Read

Configure Outlook 2007 for use with Google Apps

Outlook 2007 Configuration Steps To set up your Outlook 2007 client to work with Gmail: Open...

How do I create a mailto link on my page?

The mailto command will place blue wording on the screen that people can click to send you a...

How do I set up my e-mail in Eudora 5.2?

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal...

Problems retrieving e-mail with Norton Anti-Virus installed.

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal...