Results 1 to 3 of 3
  1. #1
    katie is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default I can't import javax.mail

    I have to send and receive e-mail through java.
    I have just installed j2EE 1.4.2 and I use eclipse it couldn't import javax.mail.* .
    What do I have to do?
    what's the problem?

  2. #2
    brianhks is offline Senior Member
    Join Date
    Jul 2007
    Posts
    135
    Rep Power
    0

    Default

    The mail.jar needs to be in your classpath. There may be a couple other jars as well. They will be where you installed the J2EE.

  3. #3
    katie is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

Similar Threads

  1. javax.mail.SendFailedException: Invalid Addresses;
    By Anju Jose in forum Advanced Java
    Replies: 2
    Last Post: 03-08-2009, 12:29 AM
  2. javax.microedition.io/ javax.bluetooth
    By ahtiven in forum New To Java
    Replies: 3
    Last Post: 01-13-2009, 02:54 PM
  3. Retreiving of mail body using mail number
    By chandu.v09 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-13-2008, 02:25 PM
  4. map javax.swing.text.Element to javax.swing.text.View
    By elizabeth in forum New To Java
    Replies: 1
    Last Post: 07-30-2007, 07:02 PM
  5. Sending a mail with the local mail program
    By thedude in forum Advanced Java
    Replies: 2
    Last Post: 07-23-2007, 12:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •