I'll add to this, since it took me a while to find out how easy it is to use the commandbars. For example, to Reply to the currently selected email in outlook and then Paste the contents of the clipboard into that reply, do the following. You can also use the WebBrowser activeX control to place html into the clipboard first if you wish. Powerful stuff!
m.loOutlook= GETOBJECT(, "Outlook.Application")
m.loOutlook.ActiveExplorer.CommandBars.FindControl(,354).Execute
m.loOutlook.ActiveInspector.CommandBars.FindControl(,22).Execute
You can see a list of the commandbar IDs here and on other sites:
http://support.microsoft.com/kb/173604-Mark
>>Hi
>>
>>Is it possible to click the Send & Receive button in MS Outlook from within VFP?
>>
>>Any help extremley apreciated.
>
>oOutlook.ActiveExplorer.CommandBars("Standard").Controls("Send/Receive").execute
>