Meaningless Drivel is fun!*
The moose likes Other JSE/JEE APIs and the fly likes send email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "send email" Watch "send email" New topic
Author

send email

chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 187
Hi,

I want to add a menu that will send a mail via outlook something like “mailto” in html
I am not sure that this is right forum for this kind of question ,if not I will appreciate If you could direct me to the right forum.

Thanks
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Add a menu where? On a web page, Java UI application?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 187
java swing UI
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Well a swing menu is just like any other event source like a button.
You add a listener to the source, trap the event and process it. Quite straight forward.

In your case, the processing part is actually sending the mail. Since this is a java application, I presume you would wish to use JavaMail to send the mail.
Moving to the appropriate forum where you can get a better response.
chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 187
I don't want to use java mail.
i need to use outlook (like mailto link in HTML)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39551
    
  27
The java.awt.Desktop class in Java 6 can launch the desktop email client.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send email
 
Similar Threads
STRING objects
Got certified.
Cleared SCWCD with 94%
Should I master a build tool?
spanish email subject with special char is coming as question mark