1. If this can be done with the Desktop API please point me in a direction as to how this can be done.
2. If not, should I be using the JavaMail API or a different API to send the email to users on the network? I do not want to get email server admin staff involved for configurations as it is not a large project.
Basically, I need a simple way to transport messages without the hassel of invoking my email client dialog box everytime a predfined email is sent to users.
Thanks for any help.
Joe Mastro wrote:Basically, I need a simple way to transport messages without the hassel of invoking my email client dialog box everytime a predfined email is sent to users.
And just to clarify something which wasn't clear from your post: Do you care who those e-mail messages appear to come from?
I ask because your Desktop approach causes the e-mail messages to come from the person who clicks OK on the GroupWise dialog box. If you switch to some other solution which doesn't require interaction with the user, then you're going to have to decide on a "From" address, or configure one perhaps. And you might have to deal with authentication -- another thing which is taken care of when the user clicks OK on the GroupWise dialog.
Also to clarify original post, I originally wrote it as my application that is invoking the GroupWise email client but just the same it could be any one of the users invoking the email client also on their machine.. Not that it matters, the principal is the same....everyone has a copy of the app, each app invokes GroupWise email client on their machine and fires off email to appropriate To: destination.
Joe Mastro wrote:Yes I do. The e-mail messages should come from the person who clicks OK on the GroupWise dialog. The users email address is automitacally populated in the "From" box when the Groupwise client is invoked and that is how I intended it to be.
That's what I suspected. This dialog box which pops up may be annoying but it has two important features: it automatically inserts the current user's e-mail address in the From address, and it authenticates with the GroupWise server. If you want to modify the system so that it doesn't pop up the dialog box, then you're going to have to replicate those features on your own in the modified system.