outlook.application

Opening outlook 2010 through vbscript

时光毁灭记忆、已成空白 提交于 2019-12-25 01:44:11
问题 I want to send email using outlook 2010, windows 7 & IE8 , what is code required to get the "Outlook.Application" object?. I tried with CreateObject("Outlook.Application") but getting error "Object Required" 回答1: Sample Code :- ' Create email object Set oolApp = CreateObject("Outlook.Application") Set email = oolApp.CreateItem(0) email.Recipients.Add("abcaashn@gmail.com") ' Create the body of the email MailBody = "<!DOCTYPE HTML PUBLIC ""-//W3C//DTD W3 HTML//EN"">" MailBody = MailBody & "

Opening outlook 2010 through vbscript

会有一股神秘感。 提交于 2019-12-25 01:29:21
问题 I want to send email using outlook 2010, windows 7 & IE8 , what is code required to get the "Outlook.Application" object?. I tried with CreateObject("Outlook.Application") but getting error "Object Required" 回答1: Sample Code :- ' Create email object Set oolApp = CreateObject("Outlook.Application") Set email = oolApp.CreateItem(0) email.Recipients.Add("abcaashn@gmail.com") ' Create the body of the email MailBody = "<!DOCTYPE HTML PUBLIC ""-//W3C//DTD W3 HTML//EN"">" MailBody = MailBody & "

How to open outlook using javaScript on client machine?

末鹿安然 提交于 2019-12-12 02:10:43
问题 I Have java code which open outlook in server . but i want to opent outlook on client machine and fill Body with HTML content . is it possible using javaScript , VbScript or any other Technology . public static void main(String[] args) { // System.setProperty("java.library.path", "/path/to/library"); Display display = Display.getCurrent(); Shell shell = new Shell(display); OleFrame frame = new OleFrame(shell, SWT.NONE); // This should start outlook if it is not running yet OleClientSite site