Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Email Templates
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01262384
Message ID:
01262490
Views:
9
This is great!

Thanks Mike


>Here is an example:
>
>
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
>endwith
>
>
>
>>Hi all,
>>
>>Any ideas on how to access Outlooks Email Template by way of automation / scripting please?
>>
>>I have code that sends out emails (on behalf of the user) from outlook by way of automation. I would to access the user's custom email template(s) for some of the content.
>>
>>Any help will be much appreciated.
>>
>>Thank you
Mathias Banda

Time is longer than a rope.
Previous
Reply
Map
View

Click here to load this message in the networking platform