Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook template for email
Message
De
20/08/2001 07:31:41
 
 
À
20/08/2001 05:37:21
Greenstein Yaacov
Meroz Software Systems
Jerusalem, Israél
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00546072
Message ID:
00546098
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform