Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Email Templates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01262384
Message ID:
01262416
Vues:
12
This message has been marked as the solution to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform