Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI - Sending Attachments to Recipients Programmaticall
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00261254
Message ID:
00262103
Views:
28
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform