First of all thanks everyone for the replies...They helped a lot. Now I want to mail multiple files as attachments also on 1 button touch...And how do i create a Directory to store files that I save . So far i have written this code but maybe you can upgrade it ...I thank you in advance

<script language="JavaScript">



function mailMe( form ) {
// put some checks here
return true;
}


<form name="email" method="POST" action="mailto:YOUR@EMAIL.ADDRESS"
onSubmit="return mailMe( this.form )" enctype="text/plain">
<b><p>YOUR NAME:</b><br>
<input type="text" name="SUBMITED BY" value size="30"><br>
<b>ENTER YOUR URL:</b><br>
<input type="text" name="URL LOCATION" value="http://" size="30"><br>
<b>YOUR E-MAIL ADDRESS:</b><br>
<input type="text" name="EMAIL ADDRESS" value size="30"><br>
<b>YOUR COMMENTS:<br>
<textarea NAME="COMMENTS" ROWS="8" COLS="30" wrap="virtual"></textarea><br>
<input type="submit" value="Submit "><input type="reset" value="Reset"></p>
</form>
<!-- -->
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.