Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating Outlook
Message
De
18/03/2007 10:03:17
 
 
À
18/03/2007 10:00:04
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01205187
Message ID:
01205188
Vues:
26
This message has been marked as the solution to the initial question of the thread.
loOutlookApp = CREATEOBJECT("Outlook.Application")
loNewItem = loOutlookApp.createitem(0)
* Html mail
loNewItem.subject = "New HTML Message"
loNewItem.to = "somebody@somewhere.com"
loNewItem.htmlbody = "<HTML><H2>This is HTML Mail.</H2><BODY>Some body text.
<p><img border="0" src="http://mywebsite.com/picture.gif" 
</p>
</BODY></HTML>"
loNewItem.send
>Hi all,
>
>Could someone tell me how to open MS Outlook through the createobject code,
>ie in
>
>oOutlook=createobject(XXXX.application)
>
>I would like to know what's 'XXXX'?
>
>
>Thanks a lot.
>
>Regards,
>
>
>Steve.
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform