Folks,
I'm trying to get an HTML form to send an attachment. So I've written the following html code which looks perfectly a okay to me:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<form method="post" action="mailto:mail.me@mailaddress.com?subject=attachment" enctype="multipart/form-data">
Local file: <input type="file" name="bobo" size="32">
<p>
<input type="submit">
</form>
</BODY>
</HTML>
When I mail this form off to myself with an excel spreadsheet attached it does not open up. Excel tells me the spreadsheet is corrupt.
Can anyone out there tell me if I'm doing something wrong???
Thanks!!!
I'm trying to get an HTML form to send an attachment. So I've written the following html code which looks perfectly a okay to me:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<form method="post" action="mailto:mail.me@mailaddress.com?subject=attachment" enctype="multipart/form-data">
Local file: <input type="file" name="bobo" size="32">
<p>
<input type="submit">
</form>
</BODY>
</HTML>
When I mail this form off to myself with an excel spreadsheet attached it does not open up. Excel tells me the spreadsheet is corrupt.
Can anyone out there tell me if I'm doing something wrong???
Thanks!!!