Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook template for email
Message
From
20/08/2001 07:31:41
 
 
To
20/08/2001 05:37:21
Greenstein Yaacov
Meroz Software Systems
Jerusalem, Israel
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00546072
Message ID:
00546098
Views:
17
>I want to create email using Outlook based on a
>.dot template.
>This is my code:
>
>oOutlook = createobject("Outlook.Application")
>oMailItem = oOutlook.createitemFromTemplate(cTemplatePath)
>
>The resulting email is not based on the template.

Try reading the OnLine Help Topic in Outlook "Create a new document based on an existing document"; the .DOT template is a Word document template, so unless you are using Word to create the body of your email messages, it won't help to reference it.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform