Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display drive driver drivers email error ethernet excel firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Form script error


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
08-Oct-2005, 10:03 AM #1
Arrow Form script error
I am creating a "Quote request form" And this is the script in ASP:

Script
*****
<%
dim bodymessage
bodymessage = "Hi,<br> You have received a New Reservation. The details are given below.<br><hr>"
bodymessage = bodymessage & "<b>Contact Information</b><br>"
bodymessage = bodymessage & "Your Name: " & request.form("realname") & "<br>"
bodymessage = bodymessage & "E-mail Address: " & request.form("email") & "<br>"
bodymessage = bodymessage & "Phone: " & request.form("phone") & "<br>"
bodymessage = bodymessage & "Phone Ext: " & request.form("ext") & "<br>"
bodymessage = bodymessage & "Fax: " & request.form("fax") & "<br>"
bodymessage = bodymessage & "Your Address: " & request.form("address") & "<br>"
bodymessage = bodymessage & "City: " & request.form("city") & "<br>"
bodymessage = bodymessage & "State: " & request.form("state") & "<br>"
bodymessage = bodymessage & "Zip: " & request.form("zip") & "<br>"
bodymessage = bodymessage & "Company: " & request.form("company") & "<br>"
bodymessage = bodymessage & "Comments: " & request.form("comments") & "<br>"
bodymessage = bodymessage & "<b>Part 1</b><br>"
bodymessage = bodymessage & "Manufacturer: " & request.form("mfg1") & "<br>"
bodymessage = bodymessage & "Part No: " & request.form("partno") & "<br>"
bodymessage = bodymessage & "Quantity: " & request.form("quantity1") & "<br>"
bodymessage = bodymessage & "Delivery: " & request.form("delivery1") & "<br>"
bodymessage = bodymessage & "<b>Part 2</b><br>"
bodymessage = bodymessage & "Manufacturer: " & request.form("mfg2") & "<br>"
bodymessage = bodymessage & "Part No: " & request.form("partno2") & "<br>"
bodymessage = bodymessage & "Quantity: " & request.form("quantity2") & "<br>"
bodymessage = bodymessage & "Delivery: " & request.form("delivery2") & "<br>"
bodymessage = bodymessage & "<b>Part 3</b><br>"
bodymessage = bodymessage & "Manufacturer: " & request.form("mfg3") & "<br>"
bodymessage = bodymessage & "Part No: " & request.form("partno3") & "<br>"
bodymessage = bodymessage & "Quantity: " & request.form("quantity3") & "<br>"
bodymessage = bodymessage & "Delivery: " & request.form("delivery3") & "<br><hr>"

Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "smtp.xxx.com"
Mail.Port = 25
Mail.From = "info@xxx.com"
Mail.FromName = "Reservation Details"
Mail.AddAddress = "info@xxx.com"
Mail.Subject = "Reservation Details"
Mail.Body = bodymessage
Mail.IsHTML = True
Mail.Send
%>



But this script giving a following error, please tell me what's wrong in this:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'AddAddress'

/sendmail.asp, line 230



Line 230 mentioned as bold. Please tell me what need to change...
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
08-Oct-2005, 02:33 PM #2
Do you have the Persist email component as well? Your script will not work without it.

I also believe your Mail.AddAddress = "info@xxx.com" needs to be Mail.Address = "info@xxx.com"

Nevermind, just take out the = sign and it should work Mail.AddAddress "info@xxx.com"
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
08-Oct-2005, 11:15 PM #3
What is persistent email component. I removed the "=" sign but still giving following error:

Persits.MailSender.4 error '800a0006'

550 5.1.1 <info@xxx.com> User unknown; rejecting

/sendmail.asp, line 234
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
09-Oct-2005, 10:58 AM #4
That is the ASP mail component you need installed on your web server to get this script ot run. info@xxx.com is not a real user if you have an internal mail server.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
09-Oct-2005, 12:37 PM #5
where i get the ASP mail component, is that freely available. Please tell me the link...and how to use that. And what's the error mean.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
09-Oct-2005, 03:18 PM #6
You can get it from where you got the script from.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
10-Oct-2005, 07:52 AM #7
I get the script from my friend and he is not available to explain me how to use, where to get the component. Can you help?
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
10-Oct-2005, 09:09 AM #8
Google > Persits.MailSender = results
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
10-Oct-2005, 09:59 AM #9
I searched the net and find out many tutorials...on this and nowhere mentioned that I required a ASP mailcomponent for this. Btw, I am still getting following error....what this mean?

Persits.MailSender.4 error '800a0006'

550 5.1.1 <info@xxx.com> User unknown; rejecting

/contactus.asp, line 219
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
10-Oct-2005, 10:00 AM #10
I can write my yahoo address and any smtp server that forwards the mail to yahoo account, so that i can check is that script working fine or not.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
28-Oct-2005, 10:20 AM #11
Any can help me regarding the error and this script.
Rockn's Avatar
Computer Specs
Distinguished Member with 17,888 posts.
 
Join Date: Jul 2001
Location: Mexico of the North, MN
Experience: Disenfranchised American Male
28-Oct-2005, 01:36 PM #12
This is not a real email address:
550 5.1.1 <info@xxx.com> User unknown; rejecting
Tyr entering a legit email address as well as SMTP servre. A lot of mail servers do not allow forwarding or relaying so this script may not work for you at all. Ask your ISP if this can run on their servers or not.
__________________
**Disclaimer** Anything below this line ^ is part of my signature for those that may be confused

Sadly, there are no integers on this scale, so your gangly adolescent attempt to be clever has proved futile....Dieter

I have the right "NOT" to be tolerant of others because they are different, weird, or tick me off.....Parody of Andy Rooney

There are no stupid questions, but there are a LOT of inquisitive idiots.
ashras99's Avatar
Senior Member with 1,031 posts.
 
Join Date: Jul 2002
Location: India
28-Oct-2005, 03:35 PM #13
My ISP said that you can run this script on the server and ASP mail component is also installed on the server. So, what can be the root of this error.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:26 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.