DarrenWard
IS-IT--Management
I have the following code, it appears to be ok, and runs without any errors, but nothing happens. I am running outlook attached to an exchange server, but nothing appears to be created or sent.
oMSG = CREATEOBJECT("cdo.message"
oMSG.To = "me@mydodmain.co.uk"
oMSG.From = "Me"
oMSG.Subject = "Test messages"
oMSG.TextBody = "This is a test"
oAtt = oMSG.AddAttachment("c:\myAtt.txt"
oMSG.send()
Dazz
GuiltyMaggot - The best rock band in the world!
oMSG = CREATEOBJECT("cdo.message"
oMSG.To = "me@mydodmain.co.uk"
oMSG.From = "Me"
oMSG.Subject = "Test messages"
oMSG.TextBody = "This is a test"
oAtt = oMSG.AddAttachment("c:\myAtt.txt"
oMSG.send()
Dazz
GuiltyMaggot - The best rock band in the world!