how to insert default signature in Outlook using Javascript
-
Hi All, Have a code which sends an Outlook mail using Javascript by creating an instance of ActiveX object. I need the functionality to be such, when the user executes this code his default signature should also be added in the mail...Have tried it but to no avail..Any help would be highly appreciated... The code goes as follows for the reference:
function mailWindowOpen(mailBody) {
outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailItem.Subject = "Hi There!!!";
mailItem.HTMLBody = mailBody;mailItem.display(0);
}
mailBody is passed as a parameter from an aspx page, which has the Page.ClientScript.RegisterStartScript command to call this Javascript function...
-Anurag A curious newbie
-
Hi All, Have a code which sends an Outlook mail using Javascript by creating an instance of ActiveX object. I need the functionality to be such, when the user executes this code his default signature should also be added in the mail...Have tried it but to no avail..Any help would be highly appreciated... The code goes as follows for the reference:
function mailWindowOpen(mailBody) {
outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailItem.Subject = "Hi There!!!";
mailItem.HTMLBody = mailBody;mailItem.display(0);
}
mailBody is passed as a parameter from an aspx page, which has the Page.ClientScript.RegisterStartScript command to call this Javascript function...
-Anurag A curious newbie
Is it the correct domain or should I post this question in Javascript section??? Moderators please advise...
-
Is it the correct domain or should I post this question in Javascript section??? Moderators please advise...
Have moved this question to the Javascript section....