×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Smith, Mike skrev:
I am using wdsc and trying to create a program that will send an email. Most of the examples I look at use javax.mail, but when I try to import javax.mail.* it tells me its unresolved. I have scrolled through the list, but it doesn't exist.
Any idea how to resolve this?
You need JavaMail available to you. Download from e.g.
http://java.sun.com/products/javamail/downloads/index.html
When you have downloaded and unpacked, you need to add the jar files to
your project. The easiest is to create a new folder in your project,
name it lib, and drag+drop the jar files into this folder (grab them in
an explorer window, and drop them on top of the "lib"-folder icon in
WSDCi.. They should now be copied to the folder (not moved).
Now add them to your project by marking them (either all or one at a
time) and right-clicking, then select Build-Path -> Add to Build Path.
Now the import should resolve :)
/Thorbjørn
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.