Hi all,
I am working on an ASP form script - I don't know ASP - and I keep
getting the following error:
Microsoft VBScript runtime error '800a0009'
Subscript out of range: '[number: 1]'
/formail.asp, line 164
Lines 160 - 170 are:
160 response.Write(You must specify a
164if len(strEmail1(1))3 then
strEmail1(1) - doesn't exist.
You could try strEmail1(0) and see what happens or send the code that populates
this?? Are you sure it's being populated.
Portman [EMAIL PROTECTED] wrote:
Hi all,
I am working on an ASP form script - I don't
I don't know what script you are using, I use the simple one over at
http://www.webtechsig.org/Presentations/forms2/form_processing.html
Cheryl D. Wise
MS FrontPage MVP
Certified Professional Web Developer
Start to Web - online web design training
See http://starttoweb.com
-Original
Thank you Cheryl. I will have a look at the link.
Cheryl D Wise wrote:
I don't know what script you are using, I use the simple one over at
http://www.webtechsig.org/Presentations/forms2/form_processing.html
Cheryl D. Wise
MS FrontPage MVP
Certified Professional Web Developer
Start to Web -
Riva
Subscript out of range usually means you're looking in an array for
an element that doesn't exist. If you had, say, an array with 5 elements
- arr(0) through arr(4) - somewhere in the code you tried to work with
a nonexistent sixth element - arr(5) in this case - you'd get a
subscript out
I changed the strEmail(1) to strEmail(0) and that helped but now I have
other errors coming up.
The latest one is:
Formmail v1.3 detected the following errors:
error no.: -2147220973
description: The transport failed to connect to the server.
I wonder if the port is not 25 - how would I find
Is this a script you wrote? If not you may want to email the support of
whoever wrote it.
Portman [EMAIL PROTECTED] wrote:
I changed the strEmail(1) to strEmail(0) and that helped but now I have
other errors coming up.
The latest one is:
Formmail v1.3 detected the following errors:
No. I found it on site for free scripts. I don't know ASP and the
owner of the website said that I should find something written in ASP.
I will go back and see if I can find a help file or something.
Thanks for the help!
Hoenig, Robert wrote:
Is this a script you wrote? If not you may
Looks like you're onto something. At the top of this Google search
(http://www.google.com/search?hl=enq=formmail+error+2147220973btnG=Google+Search)
there's a link to a brief discussion about this error. In the end it
turns out that McAfee ... kept blocking port 25.
The server admin will know
Thanks Mark. I don't have McAfee on my computer - my boss does, but how
would that affect the website?
Mark Krawec wrote:
Looks like you're onto something. At the top of this Google search
(http://www.google.com/search?hl=enq=formmail+error+2147220973btnG=Google+Search)
there's a link to a
You bet. Does your ISP offer any scripts to send email?
Portman [EMAIL PROTECTED] wrote:
No. I found it on site for free scripts. I don't know ASP and the
owner of the website said that I should find something written in ASP.
I will go back and see if I can find a help file or
McAfee on your desktop/laptop wouldn't do anything. McAfee on the web
server, on the other hand, might kill formmail dead.
The WDVL Discussion List from WDVL.COM
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface
Riva -
Where is the site hosted? Do you know what version of Windows they are
running (2000, 2003)? Is it possible that you can send a code snippet of
what you are using to generate the email?
Todd
-Original Message-
From: Portman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04,
Hmm. Didn't know that . . . Where would I look to see if that is the case?
Mark Krawec wrote:
McAfee on your desktop/laptop wouldn't do anything. McAfee on the web
server, on the other hand, might kill formmail dead.
• The WDVL Discussion List from WDVL.COM •
To Join wdvltalk, Send
I think it is hosted with bCentral (Microsoft) - which part of the code
would you like?
Todd Richards wrote:
Riva -
Where is the site hosted? Do you know what version of Windows they are
running (2000, 2003)? Is it possible that you can send a code snippet of
what you are using to generate
Hmm, it has been years since I looked at bcentral but I thought they had
email forms available you could simply customize with your fields.
Cheryl D. Wise
MS FrontPage MVP
Certified Professional Web Developer
Start to Web - online web design training
See http://starttoweb.com
-Original
You'll most likely need to get in touch with whoever hosts the site
ask whether McAfee or some other firewall is closing off port 25,
whether it was ever open in the first place, just to be sure, whether
SMTP is enabled at all.
The WDVL Discussion List from WDVL.COM
To Join
Thank you Todd, Mark, Cheryl and Robert. I appreciate all the help!
The WDVL Discussion List from WDVL.COM
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To:
It looks like an email address is supposed to be in query2(1). The
'split' command attempts to split the value in query2(1) into an array
using '@' as the the separator character.
The error is occurring because the value in query2(1) does not have a
'@' in it so strEmail1(0) is equal to
19 matches
Mail list logo