myOlApp = CreateObject("Outlook.Application")
myItem = myOlApp.CreateItemFromTemplate("C:\Task.oft")
WITH myItem
.DueDate = "9/20/2002"
.Body ="Template Test"
.SubJect = "Hello Template test"
.Status = 1 && In Progress
.Assign
.Recipients.Add("me@somewhere.com")
* .Send && This will send the task to the recipient(s)
endwith
myItem.Display && This is only use to show you what it look like. In Automation you would remove this line
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.