Hello
I am getting an error which, I suspect, is related to this:
In my form I have three fields, name, email, and message. Here I have:
Does 'From' refer to the name of the person as in 'From Joe' or Joe's email? If it refers to email, what would name be?
Thanks!
I am getting an error which, I suspect, is related to this:
Code:
If errorCount = 0 Then
Set ObjSendMail = Server.CreateObject("CDO.Message")
ObjSendMail.To = WebmasterEmail 'recipient
ObjSendMail.BCC = myCopy 'other recipient
ObjSendMail.From = name 'sender
ObjSendMail.From = email 'sender
ObjSendMail.Body = message
ObjSendMail.HTMLBody = strBody
ObjSendMail.Send
Set ObjSendMail = Nothing
End If
In my form I have three fields, name, email, and message. Here I have:
Code:
ObjSendMail.[b]From[/b] = name 'sender
ObjSendMail.[b]From[/b] = email 'sender
Does 'From' refer to the name of the person as in 'From Joe' or Joe's email? If it refers to email, what would name be?
Thanks!