Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending mails through GroupWise with attachment
Message
 
 
To
10/10/2001 17:29:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00542261
Message ID:
00566742
Views:
63
>>
>>Hi Nigel,
>>
>>I'm glad, that Nigel's class is working for you. I guess, it might be OS dependable. In case of Novell server and Windows 95 as a client, it worked fine. In case on NT server and Windows 95 client it crashed GroupWise and didn't send attachments right. We spent quite a considerable time trying to investigate and fix the problem, but were unable to. So, Robert's idea of using GroupWise object model was a great one and solved the whole problem entirely.
>>
>>However, yesterday I spent ~1.5h trying to find out from the Novell site, how to invoke GroupWise in interactive mode, but didn't find the necessary info. It's not a top priority problem for me now, so I put it behind. If you'll come with a solution using GroupWise object model, let me know, please.
>>
>>Thanks in advance and good luck!
>
>
>I apologize for jumping in here behind the curve, but I haven't checked UT in several days.
>
>The GroupWise API does not have any way to make any object .Visible(). It was designed to be a way to access the datasets behind the client, not the functionality of the client itself. So you're left to 1) design your own front end and use the API to access the GW data, or 2) use custom third-party objects (C3PO's) to design your own menu items or toolbar buttons on the GW client interface for particular functionality.
>
>There is a third option, the GroupWise Token Commander, but I've had problems with using it within VFP. The token commander is a GW object with one method, .Execute(), and simply allows the programmer access to the 500+ methods of the GW client. You must have the GW client running in order for it to work. Check out http://developer.novell.com/research/appnotes/2000/december/05/a001205.pdf for information on the commander. I've tried using the NewMail() command to start an email and display it without sending it, but I keep getting a "function argument value" error. Can't seem to get around it. I've been researching the Novell developers site to see if anyone has a workaround, but no luck yet. I can get it to work in VB but not VFP. I'm starting to wonder if it's the Novell client messing things up. Hopefully I'll have a chance to test that theory in the next day or so.


Thanks a lot Henry for clearing things up. What I had in mind is ability to send Error messages to developers from Error Handler. For this reason I was thinking about using GroupWise interactively. Seems like it's too complicated and probably not worth spending too much time.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform