473,480 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Send email form problem

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.
Jul 19 '05 #1
1 2280
On Mon, 07 Jun 2004 16:08:18 -0400, "Bruce W.1" <bw@noDirectEmail.com>
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
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
11158
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
2
20729
by: Fatih BOY | last post by:
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none...
14
9099
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
4
2377
by: riteshjain82 | last post by:
Hi, Please go through this: I am having a file (default.asp) on which i am taking many details from a user before mailing it to someone. I have also provided the user with a facility of...
3
4492
by: YMPN | last post by:
Hi Everyone, I'm deen from Riyadh. Please do help me with some problem i have. I have this formview control setup to recieved inputs from user (textbox, dropdownlist, others). After...
0
7041
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,...
0
6908
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...
1
6739
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6929
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...
0
5337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4481
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...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
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 ...
0
181
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.