General information
Category:
Windows API functions
>Sammie...
>
>I tried to look up that message, but I am not a Premier membership member. Can you reply with the contents of that message?
>
>Thanks!
>
>-Tim
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.
Previous
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