aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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: 192
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: 10451
    
    8

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: 192
java swing UI
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

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: 192
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: 42276
    
  64
The java.awt.Desktop class in Java 6 can launch the desktop email client.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send email