Something like:
If Not Isempty(Request.Form("Send")) Then
EmailAddress = Request.Form("UserID") & ("@MYDOMAIN.com")
CurrentDateTime = now
Set rs = con.execute("SELECT FirstName, Lastname FROM table WHERE UserID = " & Request.Form("UserID"))
If Not rs.BOF and not rs.EOF Then
...
...
Else
'No name in DB
End If
...
You'll have to fill in a few blanks, this is just an off the top idea not complete tested code.
======
Doug G
======