You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



  • "fallon416" started this thread

Posts: 28

Date of registration: Mar 26th 2010

  • Send private message


Sunday, April 11th 2010, 7:22am

Can I use the Java Mail API from within Jabaco

Can I use the Java Mail API from within Jabaco? If I can, how would I reference it? Do I just do something like

import java.mail.*;

Also, would the code that I use to access it be in Java or VB?

I have downloaded the API and would like to start playing with it. They are a set of jar files that are used for pop3, imap, smtp, etc.




  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message


Sunday, April 11th 2010, 5:30pm

First, you have to add your external Jar files to the classpath of your current Jabaco project.
Function key F1 gets you into the "Imports" dialog to define the Jar files to be known to the Jabaco IDE.

Second, you can either use "import" statements or specify the full class names.
Once you have referenced an external class in your code, the next references can omit the full path. Try it!

See here for an example how to access external Java APIs from within Jabaco. The programming language you are using is Jabaco. The Jabaco compiler translates Jabaco sources into Java class binary code.



Rate this thread
WoltLab Burning Board