If you wanna email with asp, try the following:
Set yourEmail=Server.CreateObject("CDO.Message")
With yourEmail
.Subject=theSubject
.From= "yourEmailAddress@yourDomain"
.To = "yourGuestBookReader@theirDomain"
.TextBody= "thank you. .blah blah blah ... "
.Send
End With
set yourMail=nothing
I personally email as soon as the database insert is finished. So, there's no need to get the email from database.
|