I'm using VB2005 and am trying to make the text of 2 textboxes send to my email when the user clicks on a button below. I found this code online but I am not sure about the objMessage part and the entire first line.
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Subject"
objMessage.Sender = "EmailAddress@Domain.com"
objMessage.To = "EmailAddress@Domain.com"
objMessage.TextBody = "Main Message"
objMessage.Send
Thank you very much,
Frank