muzle6074 Posted May 5, 2009 Posted May 5, 2009 Can I attach files to an email in au3? I looked at _INetMail and _INetSmtpMail but neither looked like they had the functionality.
Juvigy Posted May 5, 2009 Posted May 5, 2009 Yes you can.You can use the outlook object model. $oOApp = ObjCreate("Outlook.Application") $oOMail = $oOApp.CreateItem($olMailItem) $oOMail.Save With $oOMail .To = ("123@12.com") .Subject = ""something" .Body = "Hi this is a test .attachments.add ("c:\file....") .Send
muzle6074 Posted May 5, 2009 Author Posted May 5, 2009 Hi Juviqy, Do I need Outlook installed on the machine for this to work?
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