Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Send email form problem

Reply
Thread Tools

Send email form problem

 
 
Bruce W.1
Guest
Posts: n/a
 
      06-07-2004
I'm new to ASP (but not ASP.NET) and I'm trying to setup a simple ASP
web form to send an email to me. So I try this code:
http://www.library.unr.edu/subjects/guides/mailplay.asp

I upload the web page file to my hosting company, which is running
Windows 2000, and I get this error message:

CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/mailplay.asp, line 63

FYI, line 63 is:
objMail.Send

So now I'm confused.

I assume that my hosting company has all the latest microsoft updates.
I'm not sure if it's using CDONTS, CDO, or CDOSYS. On these I'm also a
little confused.

I'd feel better if I specified the SMTP server, but I guess CDO takes
care of this right?

Can anyone tell me what's wrong here?

Thanks for your help.
 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      06-07-2004
On Mon, 07 Jun 2004 16:08:18 -0400, "Bruce W.1" <>
wrote:

>I'm new to ASP (but not ASP.NET) and I'm trying to setup a simple ASP
>web form to send an email to me. So I try this code:
> http://www.library.unr.edu/subjects/guides/mailplay.asp
>
>I upload the web page file to my hosting company, which is running
>Windows 2000, and I get this error message:
>
> CDO.Message.1 error '80040220'
> The "SendUsing" configuration value is invalid.
> /mailplay.asp, line 63
>
>FYI, line 63 is:
> objMail.Send
>
>So now I'm confused.


So are we.

The line in question generated the error because a previous line has
an error. Use Response.Write to write out the message parameters for
your configuration.

>I assume that my hosting company has all the latest microsoft updates.


I assume that you won't have to assume if you ask.

>I'm not sure if it's using CDONTS, CDO, or CDOSYS. On these I'm also a
>little confused.


The script is CDO.SYS (CDO is the same thing...). If your host isn't
using it, then neither can you. Ask them.

>I'd feel better if I specified the SMTP server, but I guess CDO takes
>care of this right?


No, you need to specify the server if you're not using the default
SMTP service on the server the script runs on. Or a different method,
defined in the SendUsing field.

>Can anyone tell me what's wrong here?


You didn't contact your ISP and ask them what methods they had
available to send email.

The SendUsing field is basically the method CDO uses to send the
message. It could be dropped in a pickup folder, the default if you
have a default SMTP server, or sent over a port number to a non-local
SMTP server, specified in the SMTPServer field.

You'll need to contact your ISP to see what they use for sending mail
from a web page, it won't do you any good to test configs until you
have theuir settings/process.

Jeff


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have email form send email and start file download bmurphy@xlrotor.com Javascript 13 05-14-2006 06:27 PM
Cannot compose ,reply or send email on Sasktel email system pcbutts1 Computer Support 5 07-29-2005 06:13 AM
why cant i send email messages from this email Billie Jo Ames Computer Support 8 06-30-2005 12:24 PM
submit form, validate form, set cookie, send email, download file mhawkins19@adelphia.net Javascript 1 03-17-2005 08:19 AM
HowTo:? open email client to send email Peter ASP .Net 0 07-01-2003 04:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57