I know that you can open up an e-mail with a link on a web-page, even complete the subject bar, address bar, cc, bcc and insert text in the body (see example below)
<a href="
mailto: EMail@HideDomain.com, EMail@HideDomain.com, cc= EMail@HideDomain.com, EMail@HideDomain.com& bcc= EMail@HideDomain.com, EMail@HideDomain.com& subject= Demonstration of a subject&
body= Here is some text that appears in the body of a message
">Generate</a> information message for all teams
I'd like to post a message in a MS Outlook public folder, using a specific title (just like you would do with an e-mail message).
I have already done something similar by creating a link on a web-page that MS Outlook uses instead of it's Outlook Today page; code below: -
<a href="" class=itemNormal onclick="var theApp = window.external.OutlookApplication; var theOLNS = theApp.GetNameSpace('MAPI'); var LogItem = theOLNS.Folders('Public Folders'); LogItem = LogItem.Folders('All Public Folders'); LogItem = LogItem.Folders('My Files'); LogItem = LogItem.Folders('Media'); LogItem = LogItem.Folders('Log'); var Log = LogItem.Items.Add('IPM.Post'); Log.Subject = 'Media General Log: '; Log.Display(); window.event.returnValue=false;">Create new log entry</a>
I would, however, like to be able to use a link from a normal web-page to post this message instead of doing it inside Outlook by changing the Outlook Today page. When I try this code in a web-page it doesn't work; instead it opens a random folder on my hard-drive.
Can anyone help me with this problem
Internet Explorer Development8
|