This started out as a Perl script. Hence the "my" and trailing semi-colon.

The code below works for me. If you do not have CDO installed, see the link in my post above to find out how to get CDO installed.

code:
break ON
$= SetOption("WrapAtEol","On")

break on
$objCDO = CreateObject("CDONTS.NewMail")
IF @error <> 0
?@error " CDO not found"
SLEEP 2
EXIT 1
ENDIF
$objCDO.From = "habullock@@comcast.net"
$objCDO.To = "hbullock@@tycoelectronics.com"
$objCDO.Subject = "Software Notification for PC"
$objCDO.Body = "More Testing"
$objCDO.BodyFormat = 0
$objCDO.MailFormat = 0
$objCDO.Send
$objCDO = 0

_________________________
Home page: http://www.kixhelp.com/hb/