How to post data into Outlook

Add-in Express™ Support Service
That's what is more important than anything else

How to post data into Outlook
 
Giancarlo




Posts: 67
Joined: 2016-08-17
Outlook can view email in html format with external resource (for example images)
Now I suppose that outlook uses an internet explorer integrated

It's possible send post data using internet explorer integrated ?



  strData := 'msg=' + Web.HTTPApp.HTTPEncode('this is a test');
  PostData := VarArrayCreate([0, Length(strData) - 1], varByte);
  for i := 1 to Length(strData) do
    PostData[i-1] := Ord(strData[i]);
  Headers := 'Content-Type: application/x-www-form-urlencoded' + #10#13;
  WebBrowserTmp.Navigate('https://mysite.com/test',EmptyParam,EmptyParam,PostData,Headers);


In short,
how can I access to the WebBrowserTmp component into outlook?

Or better yet:
How can I send data via the http post data method?
Posted 16 Jan, 2017 09:28:24 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello Giancarlo,

By default the external resources aren't displayed by Outlook. The web browser component which you refer to isn't accessible through the Outlook object model.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Jan, 2017 09:59:04 Top