Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook: syntax for making the msg visible before sending
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Outlook: syntax for making the msg visible before sending
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01050087
Message ID:
01050087
Vues:
56
I am trying to create an outlook msg and make the msg visible w/o sending it. Was hoping to use "oMessage.visible = .t." but no go. Suggestions?
IF VarType(oOutlook) <> "O"
   RELEASE oOutlook
   PUBLIC oOutlook
   oOutlook = CreateObject("Outlook.Application")
ENDIF
oNameSpace = oOutlook.GetNameSpace("MAPI")
oMessage   = oOutlook.CreateItem( olMailItem )

WITH oMessage
   .Subject = "Subject"
   .Body = "The monthly staff meeting... "	
   oRecipient = .Recipients.Add( "&cAddr." )
   IF FILE(cFile)
      .Attachments.Add( cFile )	
   ENDIF
   .visible    && doesnt like this
   * .Send()
ENDWITH
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform