 | | | 129 KB | Act |  | | | 271 KB | Act |  | | Mackenzie Valley Land Use Regulations | 247 KB | Regulation |  | | | 136 KB | Regulation |
| | 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 |
|
|
|