KenNichols Posted May 26, 2009 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!
KenNichols Posted May 26, 2009 Author 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!
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