Petunjuk penggunaan adalah sebagai berikut:
<%@LANGUAGE="VBSCRIPT"%>
<%
pilihan eksplisit
redupkan DbConn,koneksi,db
Informasi konfigurasi email
redupkan SmtpHost, AdminName, AdminEmail, NeedAuth, EmailAccount, EmailPW
SmtpHost="smtp.263.net"
AdminEmail="[email protected]"
NeedAuth=true apakah autentikasi diperlukan
Akun Email="hubdog"
EmailPW="XXXX"
NamaAdmin="Administrator"
Kirim email
fungsi SendMail (Email, Subjek, Isi)
setel MailSender=Server.CreateObject("IndyMail.MailSender")
MailSender.SetBody Badan
Pengirim Surat.SetDari """"+NamaAdmin+""" <"+AdminEmail+">"
MailSender.SetHost SmtpHost
MailSender.SetAuth NeedAuth
Akun Email MailSender.SetSenderName
MailSender.SetSenderPW EmailPW
Subjek MailSender.SetSubjek
Pengirim Surat.SetTo Email
SendMail=MailSender.Kirim
fungsi akhir
%>