Thank for your information, but I think the main case is I don;t know how to install the jar in the server, the same error is retuen when I add the code you provide, and even I remark the line 'Session mailSession = ...', the similar error is returm for the next line ========== InternetAddress cannot be resolved or is not a type ==========
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com