Hi Guys,

I have some problems while attaching, Can u sort out? I am trying to
send attachment with the Email application.

The attachment stuff is working If I use the client and server the same
machine (windows 98) .

strAttach= c:/example.txt


FileDataSource fds = new FileDataSource(strAttach);
mbp2.setDataHandler(new DataHandler(fds));
mbp2.setFileName(fds.getName());

strAttach= c:/example.txt

If I try using a different client it does not work.

So I figured out to manage for windows based different client (got the
remote host address concatenated with this format it works )

strAttach = //192.168.1.176/c/example.txt

this works very fine on again windows .

If I put this application
If I try this in Linux it does not work !!! How is the remote file
attachment path taken care by unix or what format the value is supplied.
My production platform is Linux how is this taken care in Linux?



Thanks in advance!
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

Reply via email to