keepingbusy
Programmer
For sometime we have used the following coding to send automated emails from VFP9
Code:
oOutlook = Createobject('Outlook.Application')
oNameSpace = oOutlook.getnamespace('MAPI')
oOutbox = oNameSpace.GetDefaultFolder(4)
oItems = oOutbox.Items
oMailItem = oItems.Add(0)
oMailItem.To = "name@myemail.com"
oMailItem.Subject = "test email subject"
oMailItem.Body = "Email body text"
oMailItem.Send
Any suggestions why this isn't working on one computer (standalone with Windows XP) and working another identical computer?Class definition OUTLOOK.APPLICATION is not found
Thank you guys
Lee