ده الاسكربت يا جماعه وشغال وكل حاجه علي ال local host بس لما برفعه علي ال iis مش بيشتغل وبيقولي error in page
ياريت حد يعرف ويقولي ايه المشكله
function send() {
var theApp, theNameSpace, theMailItem
parent.I1.focus();
var attach = parent.I1.document.location.pathname
i = 0
while (i< attach.length)
{
attach = attach.replace("%20"," ");
i++
}
attach = attach.substr(1);
sendmail (attach)
function sendmail (attach)
{
var theApp = new ActiveXObject("Outlook.Application");
var theNameSpace = theApp.GetNameSpace("MAPI").CurrentUser;
var theMailItem = theApp.CreateItem(0);
theMailItem.Attachments.Add(attach,1);
theMailItem.Subject = theMailItem.Attachments(1);
theMailItem.Display(true);
theNameSpace.Logoff;
}
}ياريت لو سمحتم