By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

file upload

P: 1
Hi Friends,

Please find the below html code and I want send some data and attached file to specified mail id .
Here I am facing few problem
1. if I specify enctype="text/plain" I can see onle form data in outlook express or lotus notes .

2. if I specify enctype="multipart/form-data" then , It attach some dummy file with name postdata.att and it contains some encrypted data.

I want form data and attached file to be sent in outlook express.

Please it is very urgent.
Awaiting for your responses.

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<form action="MAILTO:emailtoramesha@yahoo.co.in?subject= SDS demand form" method="post" enctype="multipart/form-data" name="submit_form">

Company name: *
<input type="text" name="companyname" size="45">
<br>
Short description: *
<textarea name="description" rows="3" cols="50"></textarea>
<br>
Location: *
<input type="text" name="location" size="53">
<br>
<input type="file">

<input type="submit" value="Submit">&nbsp;&nbsp;&nbsp;&nbsp;
</form>
</body>
</html>





Regards

Ramesha
Oct 5 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.