with activex can create outlook instance , start new html e-mail.
here sample code:
var outlookapp = new activexobject("outlook.application");
var namespace = outlookapp.getnamespace("mapi");
mailfolder = namespace.getdefaultfolder(6);
mailitem = mailfolder.items.add('ipm.note.forma');
mailitem.subject="a subject test";
mailitem.to = "an@email.here";
mailitem.htmlbody = "bold";
mailitem.display (0); there equivalent firefox , crome. has sample please?
thank you!
no. ie can work com objects if site trusted , can create com objects in script.
Comments
Post a Comment