email vb script - TechRepublic
General discussion
July 28, 2006 at 12:05 PM
r e p h l e x

email vb script

by r e p h l e x . Updated 15 years, 8 months ago

Hello all, can anyone help, why does the below script not work on my sp3 xp machine???

Set objEmail = CreateObject(“CDO.Message”)

objEmail.From = “g.millen1@ntlworld.com”
objEmail.To = “g.millen1@ntlworld.com”
objEmail.Subject = “Atl-dc-01 down”
objEmail.Textbody = “Atl-dc-01 is no longer accessible over the network.”
objEmail.send

i’m getting the below error:

the “sendUsing” configuration value is invalid
code: 80040220
source: CDO.message.1

Anyone know why.

thanks in advance.

This discussion is locked

All Comments