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

Do you have a Webmail feature that I can use to check my mail from my browser?

  Web Sanchar India offers a webmail feature accesible from: Linux...

How do I set up Mail for Mac OS X?

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

How do I view e-mail headers in Outlook 98/2000/2002/XP?

Step 1. Highlight the message by single clicking on it.  Step 2. Right-click on the...

Does Web Sanchar India offer any spam filtering tools?

Yes we do have installed anti-spam and anti-virus server side protection. However we recommend...

Is there a limit to the number of email I can send using your SMTP?

Yes, there is a limit on the number of mail you can send from our server using email service....