troubleshooting Question

VBScript - CDO.Message does not work

Avatar of quiTech
quiTechFlag for Canada asked on
Visual Basic Classic
2 Comments1 Solution1663 ViewsLast Modified:
Hello,

I am running on a Windows 2000 server, executing a VBScript file using command prompt CSCRIPT.

The VBScript tries to send an e-mail using CDO.Message:

set objMsg = CreateObject("CDO.Message")
objMsg.Subject = "test"
objMsg.From = "me@myaddress.com"
objMsg.To = "you@youraddress.com"
objMsg.TextBody = "test"
objMsg.Send

There are no errors when running the script, but, no message is sent or ever received.

SMPT Service is running, but there are no log files in winnt\system32\LogFiles\ for this service.
I don't have Exchange installed on (or accessible from) this server.

Any thoughts on where I should look to start tracking this down?  


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros