aspose file tools
The moose likes JavaFX and the fly likes Sending email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JavaFX
Bookmark "Sending email" Watch "Sending email" New topic

Sending email

Stephane Clinckart
Ranch Hand

Joined: Oct 21, 2003
Posts: 89

I would like to have a confirmation.

I evaluate the possibility to use a JavaFX application (JavaFX2 ?) for a distributed web application.

My question:

Is it possible to send a mail on the client side ?
With file attachment ?

The idea is to open the mailclient with an attachment in it.

Like I should do with a Swing application with java.mail API ?

Thanks a lot for help

Rob Spoor

Joined: Oct 27, 2005
Posts: 19896

You should be able to use the existing JavaMail library.

How To Ask Questions How To Answer Questions
Stephane Clinckart
Ranch Hand

Joined: Oct 21, 2003
Posts: 89

Is it possible to mix both technologies - GWT and JavaFX ???

The idea is to have an GWT application who "embed" a small JavaFX application in the banner by exemple that allow to send mail on the client side with an attachement ?
This to "hack" the fact that mailto don't allow attachment.

You think it is faisable ?


Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3117

You can export the JavaFX app as an Applet and then embed it in your HTML page. But I think GWT should take care of this.

Mohamed Sanaulla | My Blog
I agree. Here's the link:
subject: Sending email