Hi I am having problems with attachment because the Javamail attaches files only in local path and not in the network path, Local path = client and server in windows O/S ( strAttach = c:\example.txt)
Network path= I am not sure ..but I think should be something like (/usr/temp/mail) // attach the file to the message FileDataSource fds = new FileDataSource(strAttach); mbp2.setDataHandler(new DataHandler(fds)); How do we overload this FileDataSource to attach file for a network path in Linux based System. <FORM ACTION="xxx.jsp" METHOD="POST" ENCTYPE="multipart/form-data"> do we need to use this? The demo mail in JSPinsider or JavaMail does not explain this in my knowledge! Is there any work around for this? Thanks in admvance. Regards Daniel Jayapaul.E =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
