>Sorry I can't help you but maybe you could help me. Would you share how you sent the mail using Outlook or tell me where I could find an example or references?
Sammie,
someone here gave me a great list of links to verious sites but I managed to wipe them out. I do have one link that is probably the best though. it is:
http://www.computer-consulting.com/vfptips.htmAt the bottom of the page is a link to an arcive. That is where this code came from. I have also found that you can get some good code from the Microsoft site by entering OLE WORD in the search engine of the Knowldgebase. Be sure to select Visual FoxPro first.
Here is the code to send an e-mail. I tried it and it worked the first time.
Just change the line
"oitem.to="USERONNETWORK; name..."
and enter the e-mail address of the receipiant(s). Oh yea, you got to have Outlook installed and working first. I think you need ver 97 or later.
* --------------------------------------------------------------------------
* Okay, so Outlook98 (or 97) must be installed for this to work.
o=createobject("outlook.application")
oitem=o.createitem(0)
oitem.subject="VFP6 rules"
oitem.to="USERONNETWORK; name@theirmail.www; other_addresses;"
oitem.body="This mail was sent from vfp client using Outlook98 server component in only 6 lines"
oitem.send
o=.null.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn