473,722 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with ASP form mailer

2 New Member
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.eqxstructur ing.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.CreateOb ject("SMTPsvg.M ailer") 'create an Asp mail component.
Mail.FromName = "EQX Website Contact"
Mail.FromAddres s= Request.Form("t xtEmail")
Mail.RemoteHost = "mrelay.perfora .net" ' The mail server you have to use with Asp Mail
Mail.AddRecipie nt "EQXStructuring ", "info@eqxstruct uring.com"
Mail.Subject = "Web Contact - "
Body = "Name:" & Request.Form("t xtName") & vbcrlf
Body = Body & "Phone: " & Request.Form("t xtPhone") & vbcrlf
Body = Body & "Email: " & Request.Form("t xtEmail") & vbcrlf
Body = Body & "Subject: " & Request.Form("s ubject") & vbcrlf
Body = Body & "Message:" & vbcrlf
Body = Body & Request.Form("t xtMessage")
Mail.BodyText = Body
if Mail.SendMail then
Response.Redire ct("http://www.eqxstructur ing.com/thankyou.html")
else
Response.Write "Mail send failure. Error was " & Mail.Response
end if
Jun 8 '07 #1
2 1620
jhardman
3,406 Recognized Expert Specialist
which is line 82?

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

<form onSubmit="retur n ValidateForm()" method="post" action="eqxcont act.asp">
Jun 8 '07 #3

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

Similar topics

2
1290
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") Mailer.FromAddress= Request.Form ("Addres") Mailer.RemoteHost = "mailserver.com" Mailer.AddRecipient "property", "info@myway.com"
2
1731
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 receive the email from the form via the ISP but the data collected from the form is not there. Where did it go? Here is a copy of the code I am using - It's standard. <!--- mailer.asp --->
3
1791
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
1112
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 mysteriously stopped working about 10 days ago. It still works fine in my local dev environment (win xp), and reposting the code doesn't do any good. I even tried deleting the button and recreating it. I came up with a work around - using a linkbutton...
0
230
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 mysteriously stopped working about 10 days ago. It still works fine in my local dev environment (win xp), and reposting the code doesn't do any good. I even tried deleting the button and recreating it. I came up with a work around - using a linkbutton...
0
8863
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8739
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9088
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2602
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.