Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Automation
Message
De
10/05/2000 11:40:38
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
 
À
10/05/2000 10:25:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00368099
Message ID:
00368167
Vues:
27
John,

Is there a way to do the same thing using MAPI? The reason being not all users will have Outlook.

Thanks

Jim




>Hi Jim...
>
>oOutlook =CREATEOBJECT("Outlook.Application")
>cSendTo  ="anyone@anywhere.com"
>olItem   =oOutlook.CreateItem(0)
>olItem.Attachments.Add("c:\docs\myfile.txt")
>olItem.Recipients.Add(cSendTo)
>olItem.Subject="Subject of the message"
>olItem.Display
>
>
>
>>I want to bring up the dialog for a new email message. I also want to set the subject, have a file attached if required and have the user select the person they are sending the message to. So by message dialog I mean the screen that appears when you create a new message to send in Outlook. Does that help?
>>
>>Thanks
>>
>>Jim
>>
>>
>>
>>>Define "message dialog", Jim.
>>>
>>>
>>>>Does anyone know how to display a message dialog using Automation with Outlook?
>>>>
>>>>Thanks
>>>>
>>>>Jim
Thanks

Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform