Dent Posted August 23, 2016 Posted August 23, 2016 (edited) Hi, I have written the following code and although the email is successfully created from a template it just sits in my draft folder without being sent and I can't figure out why? #include <OutlookEX.au3> $Email = "test@test.com" $Outlook = _OL_Open() $olItem = _OL_ItemCreate($Outlook, 1, "", "Feedback.oft", "To=" & $Email) _OL_ItemSend($Outlook, $olItem, Default) _OL_Close($Outlook) Place Feedback.oft in the same folder as the script for it to run. Oh and you have to have a working Outlook installation and mail profile set up SOLVED changed the 1 to $olMailItem Feedback.oft Edited August 23, 2016 by Dent To make code executable
JohnOne Posted August 23, 2016 Posted August 23, 2016 Full reproducable code might be required. Obviously omitting personal info. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Dent Posted August 23, 2016 Author Posted August 23, 2016 5 hours ago, JohnOne said: Full reproducable code might be required. Obviously omitting personal info. Done
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