• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

send email

 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11073
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add a menu where? On a web page, Java UI application?
 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java swing UI
 
Maneesh Godbole
Saloon Keeper
Posts: 11073
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't want to use java mail.
i need to use outlook (like mailto link in HTML)
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The java.awt.Desktop class in Java 6 can launch the desktop email client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic