This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 188
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: 10167
    
    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: 188
java swing UI
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    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: 188
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: 41062
    
  43
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
 
Similar Threads
Cleared SCWCD with 94%
Should I master a build tool?
STRING objects
spanish email subject with special char is coming as question mark
Got certified.