hi, i dont know if this question is for this section. but here goes the question.i want to call the email client outlook express mail message windows through java.what way can i call the message window . i have another query . i need to insert some email address stored in my database table in the mail message's "to" and "from" box. Any help is appreciated Srinivas
So it sounds like you are wanting to launch a New Message window for Outlook Express from a Java App and upon opening this New Message window, you want to populate to the To: and From: fields. Well, if this is indeed what you want to do, with pure java, you could probably launch Outlook Express and you might even be able to launhc a New Message window provided Outlook Express was the users default Email client. However, prepopulating any fields in that window is not possible with pure java. You would have to use JNI. Now, with that being said, there is an alternative. Why don't you use the JavaMail API to send your messages. You can construct a very simple GUI window to simulate a New Message window using SWING or AWT. And with this you can programmatically insert values from a Database.
gregg, i am doing my project in a short term. so going the java mail way might take a long time i feel. dont we have an api which covers ms outlook / ms exchange server. actually my client want to send emails through outlook express.in a frame screen on clicking a button we have to open a outlook express with the to,cc,bcc,subject and body to be initialized from the database. thanks for the suggestions. Regards Kiranmanohar
Joined: Sep 28, 2003
hi gregg, i need to do it with outlook express. outlook express and my java client should be integrated. if for that i need to know native code, then i will follow that example. but i am new to native code. is there any code in nativejava to integrate outlook express with my java client program. as i told u before my java client has a button which on clicking pops the outlook express with all the addresses in the to,cc,bcc,subject and body sections. on clicking the send button it goes to the email server which should be integrated with my java server program which has 2 parts a reciever program and a sender program. the reciever program should receive the email address found in the to section and check its validity. if the email address is valid then i have to store it to the database else i should not. then if the email address is valid i have to send it to the sender java program which will in turn send it to the internet. "in short i need to send an outlook message through my java program to the internet". Any help is appreciated. also can u send me some examples for jni and javamail. Regards Kiranmanohar
subject: to call outlook express mail message window