I am trying to send an email via VBS but I keep getting errors. I want it to send a email as simple as possible.
Does not work, with this error:
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "othermail@hey.com"
objEmail.To = "myemail@yahoo.com"
objEmail.Subject = "thisisasubject"
objEmail.Textbody = "Here is the message"
objEmail.Send
Error:
line: 6
Char: 1 error: The "sendusing"configuration value is invalid. 80040220