|
Working Group documents for the public
 | | 31/05/2010 4:43 PM | Rob Dobson - MVLWB |  | | 31/05/2010 4:41 PM | Rob Dobson - MVLWB |  | | 11/08/2011 1:55 PM | Rob Dobson - MVLWB |  | | 14/07/2009 2:29 PM | Rob Dobson - MVLWB |  | | 31/05/2010 4:41 PM | Rob Dobson - MVLWB |  | | 13/04/2011 12:49 PM | Rob Dobson - MVLWB |  | | 17/07/2009 10:47 AM | Rob Dobson - MVLWB |  | | 13/04/2011 12:50 PM | Rob Dobson - MVLWB |  | | 21/07/2010 10:50 AM | Rob Dobson - MVLWB |  | | 04/04/2011 6:24 PM | Rob Dobson - MVLWB |
| | E-mail as Attachment | /_layouts/IMAGES/EML16.GIF | javascript:function emailDocument(documentUrl)
{
try
{
var protocolsplit = location.href.split('//');
var urlsplit = protocolsplit[1].split('/');
var fileUrl = 'http://' + urlsplit[0] + documentUrl;
var outlook = new ActiveXObject('Outlook.Application');
var outlookMessage = outlook.CreateItem(0);
var outlookAttachment = null;
var outlookAttachments = outlookMessage.Attachments;
outlookAttachment = outlookAttachments.Add(fileUrl);
outlookMessage.Display();
outlookAttachment = null;
outlookAttachments = null;
outlookMessage = null;
outlook = null;
}
catch(e)
{
alert('Please check the following: 1. Microsoft Outlook is installed. 2. In IE the SharePoint Site is trusted. 3. In IE the setting for Initialize and Script ActiveX controls not marked as safe is Enabled in the Trusted zone.');
}
}; emailDocument(currentItemFileUrl); | 0x0 | 0x0 | List | 101 | 350 |
|
|
|