This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes What are the APIs for Email & Fax ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "What are the APIs for Email & Fax ?" Watch "What are the APIs for Email & Fax ?" New topic

What are the APIs for Email & Fax ?

saran ram
Ranch Hand

Joined: Dec 13, 2002
Posts: 69
I have a form displaying a details screen .
I have 3 buttons as "print", "email" and "fax".
when i click those buttons the appropriate actions must take place.
for ex, if I click fax the details has to be sent through the fax.
if anybody knows the APIs to do this help me.
(esp. for fax and email).
(if you got any example code for this attach with your reply, it will be
more helpful).
with regards,
Saran Ram
Joel McNary

Joined: Aug 20, 2001
Posts: 1817

javax.mail would be your Mail API; as for faxing, the API depends on the Fax software that you are using; I don't know that Java has one. Depending on the software, it might be as simple as sending an E-mail to the fax server; hence, you would use the javax.mail API for that as well.

Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
It is sorta covered in the JavaRanch Style Guide.
subject: What are the APIs for Email & Fax ?