Thursday, June 14, 2001 01:54 AM
I want to allow client to add attach with their mail from the the html page.But when test using following code,the *.jsp get the file from the
not from the client machine!
here is the code I write:
MimeBodyPart mbp2=new MimeBodyPart();
FileDataSource fds=new FileDataSource("c:\SET.TXT");
Multipart mp=new MimeMultipart();
Also,I want to use the html tag--input type=file. but I don't know how to deal with it on the server side.
So,there are two things:
1.how to deal with file tag?
2.how to write code on server to deal with the file specified by client?
Please give me some advice,thanks.
Re: How to get the attachment in mail from client on the server?
Thursday, June 14, 2001 11:12 AM