MarkWilliamson
Programmer
I receive the following error message when trying to send an e-mail via VBScript ( code is below ). I assume there is a .DLL missing but I do not know which .DLL's to look for - any help would be appreciated.
Error :
ActiveX component can't create object:'Outlook.Application'
Code:
ToAddress"USER@X.NET" MessageSubject="TEXT"
MessageBody = "TEXT"
Set ol=CreateObject("CDO.Message")
Set ns=ol.getNamespace("MAPI")
Set newMail=ol.CreateItem(olMailItem)
newMail.subject = MesssageSubject
newMail.Body=MessageBody
newMail.Send
set ol=nothing
set ns=nothing
set NewMail=nothing
Error :
ActiveX component can't create object:'Outlook.Application'
Code:
ToAddress"USER@X.NET" MessageSubject="TEXT"
MessageBody = "TEXT"
Set ol=CreateObject("CDO.Message")
Set ns=ol.getNamespace("MAPI")
Set newMail=ol.CreateItem(olMailItem)
newMail.subject = MesssageSubject
newMail.Body=MessageBody
newMail.Send
set ol=nothing
set ns=nothing
set NewMail=nothing