when i am using asp mailer form on my web, i am facing an error
/*
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/formmailler.asp, line 50
*/
CODE
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mailer Form</title>
</head>
<body>
<%
strHost = "mail.mydomain.com"
strUsername = "info@mydomain.com"
strPassword = "mypassword"
If Request("Send") <> "" Then
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = strHost
Mail.Username = strUsername
Mail.Password = strPassword
Mail.Name = Request("Name")
Mail.Organization = Request("Organization")
Mail.Address = Request("Address")
Mail.Country= Request("Country")
Mail.Telephone= Request("Telephone")
Mail.Emailid= Request("Emailid")
Mail.Body = Request("Body")
strErr = ""
bSuccess = False
On Error Resume Next ' catch errors
Mail.Send ' send message
If Err <> 0 Then ' error occurred
strErr = Err.Description
else
bSuccess = True
End If
End If
%>
<% If strErr <> "" Then %>
<h3>Error occurred: <% = strErr %>
<% End If %>
<% If bSuccess Then %>
Success! Message sent to <% = Request("To") %>.
<% End If %>
<div style="margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #4AF4FE;">
<h1 class="title">Query Form </h1>
<p class="title"><% = mail.mydomain.com %> </p>
<form name="form1" method="post" action="">
<table width="98%" border="1" cellspacing="4" cellpadding="2">
<tr>
<td width="47%"><strong>Name</strong></td>
<td width="3%"><strong>:</strong></td>
<td width="50%"><label>
<input name="name" type="text" id="name">
</label></td>
</tr>
<tr>
<td><strong>Organization</strong></td>
<td><strong>:</strong></td>
<td><label>
<input name="organization" type="text" id="organization">
</label></td>
</tr>
<tr>
<td><strong>Address</strong></td>
<td><strong>:</strong></td>
<td><label>
<textarea name="address" id="address"></textarea>
</label></td>
</tr>
<tr>
<td><strong>Country</strong></td>
<td><strong>:</strong></td>
<td><label>
<input name="country" type="text" id="country">
</label></td>
</tr>
<tr>
<td><strong>Telephone</strong></td>
<td><strong>:</strong></td>
<td><label>
<input name="telephone" type="text" id="telephone">
</label></td>
</tr>
<tr>
<td><strong>E-mail ID </strong></td>
<td><strong>:</strong></td>
<td><label>
<input name="emailid" type="text" id="emailid">
</label></td>
</tr>
<tr>
<td><strong>Kindly describe your requirement </strong></td>
<td><strong>:</strong></td>
<td><label>
<textarea name="body" id="body"></textarea>
</label></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3"><label>
<div align="center">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
</div>
</label></td>
</tr>
</table>
</form>
<p align="center" class="style3">* All Fields Are Required.* </p>
</body>
</html>