dcsimg
how to upload the files in servlet by using java mail
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   meenu_gupta
Posted On:   Monday, July 29, 2002 10:34 PM

I am uploading files in a jsp, where form ENCTYPE="multipart/form-data" , files are being taken from here to a servlet and there i want these files to save it on server by java mail because it supports Mime attachements which is the format used by the multi-part form data. Upload of multiple files at the same time must be allowed.

Re: how to upload the files in servlet by using java mail

Posted By:   gurpreet_ahluwalia  
Posted On:   Wednesday, August 7, 2002 02:48 AM

hi....




i have solution for this.....



i first upload the file to server in some destination....



like d:/uploadfiles/....



after the file is uploaded onserver.....



its attached to the message and then the message is send.....



after the messages is send that file is then deleted from the server....




i have done lot of research in this.. and found that this is what other rediff and yahoo also does the same....



if u need help .....


u can contact me...


gurpreet_gh761230@rediffmail.com


actually i am making a web mail for a company...


so this is a professional approach.....

Re: how to upload the files in servlet by using java mail

Posted By:   Laurent_Mihalkovic  
Posted On:   Wednesday, July 31, 2002 01:33 AM

is it just me, or you do not seem to ask any question... can you be more specific about your problem!?
About | Sitemap | Contact