How to enable File Attachment in an Email Service

hello

this is ajit here...I am making an Email Service and am supposed to enable the users to attach a file from a simple HTML page. Since I have just joined Web Development, I am unable to do the task...

I would highly appreciate if u could provide me some help in this context either in form of the Source Code or a detailed insight into the things to be used.

Note that I don't know much about multipartrequest, so please try to get me some other alternative solution.

Another thing that I wish to ask is how to make a DSN on a Web Server without moving there physically.

I look forward to a quick response from you.

My mail-id is: ajitchawla@rediffmail.com

[712 byte] By [ajitchawla] at [2007-9-26 2:43:43]
# 1

i know that for specifying attachment u should set it in header like this

res.setContentType("application/pdf");

res.setHeader("Content-Disposition","attachment;filename=7444.pdf;");

creating DSN on server from another pc i think that can be done only by using PC anywhere which should be installed on both server and client with this u may control the server from your local machine

priviet at 2007-6-29 10:22:49 > top of Java-index,Archived Forums,New To Java Technology Archive...