email or a text file once submited? Im trying to make a form on my website that will either email me or save to a text document the email adress and dob of people wanting to sign up for my news letter. What do I need to add so that I can make it send me the variables MyEmail, and MyD When they click the login/submit button.

method="POST" name="loginForm" id="loginForm">

<input type="hidden" name="action" value="doLogin" />

<input type="hidden" name="qs" value="" />
<input type="hidden" name="msg" value="" />
<label for="MyEmail">Your Email Adress:</label>
<input class="textField" type="text" name="MyEmail" id="MyEmail" maxlength="64" /><br />
<label for="MyD">Date of Birth:</label>
<input class="textField" type="Date of Birth" name="MyD" id="MyD" autocomplete="off" maxlength="64" /><br />

<input class="subImage" type="image" id="imageLogin" onMouseover="iSwap('imageLogin','skin_1/buttonLoginOver.gif')" onMouseout="iSwap('imageLogin','skin_1/buttonLogin.gif')" src="https://PUTMYSubmitbuttonIMAGEHERE/>
</form>