|
Use the Announcements list to post messages on the home page of your site.
 | | 05/05/2008 8:33 PM |  | | 28/02/2008 3:39 PM |  | | 28/02/2008 11:34 AM |  | | 28/02/2008 11:31 AM |  | | 01/02/2008 4:18 PM |
|
| E-mail as Attachment | /mv/_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 |
|
|
|