473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Help with ASP form mailer

Okay, I have a form up that worked fine until recently. My hosting (1&1) is denying that they did anything, and that they can't assist me. So I turn to you.
Form location - www.eqxstructuring.com/contacts.html-the page loads and says that there is an "Object Expected at Line 82 Char 1" but there is no problem with my form code... I think?


Below is the code for the form action script (eqxcontact.asp)Set Mail = Server.CreateObject("SMTPsvg.Mailer") 'create an Asp mail component.
Mail.FromName = "EQX Website Contact"
Mail.FromAddress= Request.Form("txtEmail")
Mail.RemoteHost = "mrelay.perfora.net" ' The mail server you have to use with Asp Mail
Mail.AddRecipient "EQXStructuring", "info@eqxstructuring.com"
Mail.Subject = "Web Contact - "
Body = "Name:" & Request.Form("txtName") & vbcrlf
Body = Body & "Phone: " & Request.Form("txtPhone") & vbcrlf
Body = Body & "Email: " & Request.Form("txtEmail") & vbcrlf
Body = Body & "Subject: " & Request.Form("subject") & vbcrlf
Body = Body & "Message:" & vbcrlf
Body = Body & Request.Form("txtMessage")
Mail.BodyText = Body
if Mail.SendMail then
Response.Redirect("http://www.eqxstructuring.com/thankyou.html")
else
Response.Write "Mail send failure. Error was " & Mail.Response
end if
Jun 8 '07 #1
2 1600
jhardman
3,406 Expert 2GB
which is line 82?

Jared
Jun 8 '07 #2
Line 82 of contacts.html:

<form onSubmit="return ValidateForm()" method="post" action="eqxcontact.asp">
Jun 8 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Paky | last post by:
I'd like to change a couple of line in this asp file : <% Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.QMessage = true Mailer.FromName = Request.Form ("From")...
2
by: Ciberguy | last post by:
I created a form that collects information from a user via a web page. The form appears to work well - it won't let you submit the form until required data is place in the required fields. I...
3
by: Guy Verville | last post by:
I'm perplexed, I have several forms that seem to be ok, but what is sent by email doesn't contain all the Carriage returns sent. The form contains many fields and is sent as follow:...
0
by: Chris K | last post by:
I have a page on a customer's site - asp.net, c#, hosted on windows 2003. There's a server-side button on the page which updates a value in a sql database. This has worked fine for months, but...
0
by: Chris K | last post by:
I have a page on a customer's site - asp.net, c#, hosted on windows 2003. There's a server-side button on the page which updates a value in a sql database. This has worked fine for months, but...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.