Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MAPI - Sending Attachments to Recipients Programmaticall
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00261254
Message ID:
00262103
Vues:
29
>Not performing any bounds checking. How would I accomplish that? The funny thing about this is that when I comment out the code to resolve the recipient name...

Look in the help and see what the Signon method returns. If it returns a logical, do something like (the same idea can be applied to other return types):
IF ThisForm.Session1.Signon
** Some processing
ELSE
** RETURN an error
ENDIF

* Increment the Recipient index
>*ThisForm.Message1.RecipIndex = 0
>* Set the Recipient Name
>*ThisForm.Message1.RecipDisplayName = "CHUCK HENRY"
>* Resolve the Recipient Name
>*ThisForm.Message1.ResolveName
>...and simply pick my name from the Global Address List and then click on Send, the message goes thru just fine -- no errors. This would seem to indicate that I do have a valid session, would it not?

You got me on that one. You want me to email a copy of the class I use? You could drop it on a form and try it out. Let me know
Oct 31 = Dec 25
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform