codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  submit forms... with attachment: POSTDATA1.ATT????  nhay at 05:35 on Monday, January 30, 2006
 

As a newbie in web development, and to javascripts, I tried to “copy and paste” free simple form scripts from the internet to my contact page. The lay-out seems ok but when I tried the submit button, below info pops-up -

“This form is being submitted using e-mail. Submitting this form will reveal your e-mail address to the recipient, and will send the form data without encrypting it for privacy.
You may continue or cancel this submission.....”

“A program is trying to send a message using MAPI without first letting you see the contents of the message. This is a technique that some virus writers have employed in order to spread the virus. Would you like to see the message before it is sent out?”

I am then directed to Eudora’s new message with subject: form posted from Microsoft Internet Explorer and with attachment: ..\\attach\POSTDATA1.ATT;

Don't know how this happened, though I must have inserted/deleted a wrong info in the form scripts I copied. Need help... thanks!!!

below is the script:
<script language="JavaScript">
function Submit()
{
document.myform.submit();
}
function Reset()
{
document.myform.Name.value = "";
document.myform.Firm.value = "";
document.myform.Address.value = "";
document.myform.Phone.value = "";
document.myform.Email.value = "";
document.myform.Question.value = "";
}
</script>

<!--body-->
<form method="POST" action="mailto:mydomain_name@yahoo.com" name="myform">
<input type="Hidden" name="subject" value="contact">
<input type="hidden" name="recipient" value="mydomain_name@yahoo.com">
<input type="hidden" name="redirect" value="thanks.html">
<p><b><font color="#3399CC">EMAIL US</font></b></p>
<table>
<tr>
<td height="15"> </td>
<td valign="middle" align="left" height="15"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C" bordercolor="#CDB99C"><font color="#003300" face="Verdana">Your
Name:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Name" SIZE="40"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C" bordercolor="#CDB99C"><font color="#003300" face="Verdana">Company
name:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Firm" SIZE="40"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C"><font color="#003300" face="Verdana">Telephone:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Phone" SIZE="25"> </td>
</tr>
<tr>
<td bgcolor="#CDB99C"><font color="#003300" face="Verdana">E-mail:</font></td>
<td valign="middle" align="left"><input TYPE="text" NAME="Email" SIZE="25"> </td>
</tr>
<tr>
<td valign="top" bgcolor="#CDB99C"><font color="#003300" face="Verdana">Your query:</font></td>
<td valign="middle" align="left"><textarea rows="3" name="Question" cols="33"></textarea></td>
</tr>
<tr>
<td> </td>
<td><br>
<a HREF="javascript:Submit();"><img border="0" src="/forum/sub.jpg" width="78" height="22"></a>      
<a HREF="javascript:Reset();"><img border="0" src="/forum/reset.jpg" width="78" height="22"></a></td>
</tr>




thanks in advance, as in!!!!










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: asp-iis Server Application Error
•  Validation controls
•  Problem with modal dialog in threads...
•  Re: Receiving error in Visual Studio.Net when compile with F5.
•  Re: Sending Email out of the company domain.
•  Re: ASP.NET web controls
•  Click on Widget play sound
•  file upload button
•  refresh parent after closing pop up window


Recent Articles
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net
Creating CSS Buttons


© Copyright codetoad.com 2001-2006