How to include Mail Attachments??

In my Web designing (email prog), i want
to include the basic facilities. In that, i  dont
know how to attach files with the messages..
I wan a Html code for attaching the file contents
with the mail..
 how can i get the file contents of the remote user's
hard disk?? if possible, give me the java code.
prabhuramAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DreamMasterCommented:
it will be very hard to do that using javascript..

the problem is that i don't know what You are using...do You have a IIS server(Internet Information Server)? cause this can't accept files..

normally You would use the following though...

<form name="yourformsname" method="post" enctype="multipart/form-data">

to get the user to browse for a file use :

<input type="file" name="whatever">

then use all the input fields, and that should normally do the trick, however like i said...not with IIS...

good luck.

Max Davidse
http://www.thekitchen.nl
0
dill51Commented:
First you hit the attacment button and then you hit browse button them select what you want them send it>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DreamMasterCommented:
dill51,

duh....read the question....then when You DO know the answer, You might answer, the normal way of working however is that You give a comment, meaning it's a suggestion to the possible solution, only if You're sure as to whether or not You know the answer, give an answer. Otherwise please stick to comments...

This is NOT the answer!

Max Davidse
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.