That is pretty much what I was doing. My script is the following:
rsAddListing.Update
intIDNumber = request.form("id")
Dim objNewMail
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = ********@*****.com
objNewMail.To = request.form("email")
objNewMail.Subject = "New Listing #" & intIDNumber
objNewMail.Body = "This is the body of the test email."
objNewMail.Send
Set objNewMail = Nothing
rsAddListing.Close
Set rsAddListing = Nothing
adoCon.Close
Set adoCon = Nothing
But all I get in my subject line is "Listing #"
I tried @@identity but couldn't get it to work either. Please help - frustration starting to kick in.