KenNichols Posted May 26, 2009 Share Posted May 26, 2009 I can use the following to send an Email via outlook. How do I make it visible? $oOApp.visible = 1 ;does not work CODEconst $olMailItem=0 $oOApp = ObjCreate("Outlook.Application") $oOMail = $oOApp.CreateItem($olMailItem) $oOMail.Save With $oOMail .To = ("name@email.com") .Subject = "TEST" .Body = "Hi this is a test" .attachments.add ("c:\file.fil") .Send EndWith [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
Juvigy Posted May 26, 2009 Share Posted May 26, 2009 Try .Display instead of .Send Link to comment Share on other sites More sharing options...
KenNichols Posted May 26, 2009 Author Share Posted May 26, 2009 Try .Display instead of .SendThanks! Works great! [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now