Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Exchange Server check
Does anyone know of anyway to check to see, if Outlook can send an e-mail?
The following code runs:
loOutlook = CREATEOBJECT('outlook.application')
loNameSpace = loOutlook.GetNameSpace("MAPI")
*This is where the code fails if the Exchange Server is down. Is there some check I can do before running this code?
loRecipient = loNameSpace.CreateRecipient("Monte Murdock")
Thank you,
MOnTe
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement