I have to create an Outlook e-mail using a text file as a template. I have seen some script but nothing like what I need. I also need to edit some contents of a file before creating the e-mail. I also need to know what would be the best place to put that template file.
There is a script for creating a new email but I dont know how to load test and edit from here.
Updated Code----
--read source from the file
set theFile to "/Users/eclit/Desktop/MeetingTemplate.html"
open for access theFile
set fileContents to (read theFile)
close access theFile
tell application "Microsoft Outlook"
set newMessage to make new outgoing message with properties {subject:"Hooray for automation", content:fileContents & return & return}
make new recipient at newMessage with properties {email address:{name:"Jim Shank", address:"jim.shank@example.com"}}
open newMessage
end tell
Please help.