> Bruce is correct, Send(1) or Send(.T.) will do what you want.
Thanks for the response guys. When I use Send(1) or Send(.T.) I get an error "OLE error: Invalid number of parameters." Here's the code:
oOutLookObject = CREATEOBJECT('Outlook.Application')
oEmailItem = oOutLookObject.CreateItem(0)
with oEMailItem
.Body = 'Test from VFP'
.to = 'RobFerguson@swhorse.com'
.send(.T.) && Send(1) same error -- Send() works.
endwith
Any suggestions?
Also, do you know where there is some documentation regarding this? I have John Petersen's Foxtalk articles, which are great, but they only cover so much.
Thanks again.
Rob
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only