I found the following code on your site and it works great. How do I add an attachment?
oApp = createObject("Outlook.Application"
oMail = oApp.CreateItem(0)
oMail.to = "whoever@wherever.com"
oMail.subject = "Email from VFP"
oMail.body = "Test email sent directly from FoxPro."
oMail.send()
release oApp
release oMail
oApp = createObject("Outlook.Application"
oMail = oApp.CreateItem(0)
oMail.to = "whoever@wherever.com"
oMail.subject = "Email from VFP"
oMail.body = "Test email sent directly from FoxPro."
oMail.send()
release oApp
release oMail