VB Script error vbs error80004004 source null

  • Thread starter Thread starter musneem
  • Start date Start date
M

musneem

Set MyApp = CreateObject("Outlook.Application")
Set MyItem = MyApp.CreateItem(0) 'olMailItem
With MyItem
.To = "(e-mail address removed)"
.Subject = "Sending using VBE-mail script"
.HTMLBody = "Monitoring is done"
End With
MyItem.Send

its not running and popping up with error message
error80004004 source null

Andy help is appreciated??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top