473,507 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

i was unsuccessful in sending email using asp

i tried to send a email through asp using codes given on the book.
but there is an error saying:

ActiveX component can't create object: 'CDONTS.NewMail'

what's that error for.,,and how can i correct it.
Nov 19 '05 #1
3 1618
Are you sure your server has CDONTS installed? ActiveX can't load the
component if it is not installed on the server. I think you can
download CDONTS, so try to google it.

Nov 19 '05 #2
Hi Sagar,

The error message <ActiveX component can't create object: 'CDONTS.NewMail'>
that you are gettign through the code is because, CDONTS is a component
which needs to be created and then used for sending mails.
Now in your case you dont have the CDONTS installed on your server and hence
your code cannot create a object out of it to use..

This article explains which OS you have CDONTS installed and which OS dont
have it and what workaround you need to follow to install CDONTS :-

http://www.powerasp.com/content/hintstips/asp-email.asp
Here is a e.g of using CDONTS :-
http://www.webwizguide.com/asp/tutor...s_tutorial.asp
*****************************
Hope This Helps,

Shaun, M.C.P
http://blogs.wwwcoder.com/shaunakp
*****************************

"sagar" wrote:
i tried to send a email through asp using codes given on the book.
but there is an error saying:

ActiveX component can't create object: 'CDONTS.NewMail'

what's that error for.,,and how can i correct it.

Nov 19 '05 #3
Hi,

It seems that cdonts.dll is not install and/or not register.

You can-

1. Download cdonts.dll, and put it in %windir%\system32\

2. In command prompt, enter
regsvr32 %windir%\systems32\cdonts.dll


System will prompt saying the dll has been registered.

Nov 19 '05 #4

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

Similar topics

13
3183
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using...
2
2205
by: kimberly.shaffer | last post by:
Okay, I can automate sending of multiple emails with records using Groupwise and Access DB. But now what I need to do is send multiple fields associated with one field out automatically and can't...
17
2874
by: Bonj | last post by:
Right guys. (I would like a solution to this in VB6 as this is what our needy app is written in, but any solutions that involve .NET would be much appreciated likewise as I could instantiate...
9
3195
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
3
3596
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
6
2715
by: Anuradha | last post by:
Dear All How can i send mails using vb.net Thanx all
1
8154
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
0
1110
by: aravindansubramaniyam | last post by:
Hi, I'm using the following code in vb.Net for sending a mail. Its sending the mail from my system. but not sending in the server machine. In the server machine, "Server responses 5.7.3...
10
5041
by: Markgoldin | last post by:
I am sending an XML data from not dontnet process to a .Net via socket listener. Here is a data sample: <VFPData> <serverdata> <coderun>updateFloor</coderun> <area>MD2</area>...
0
7223
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,...
1
7034
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
7488
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...
1
5045
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...
0
4702
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
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1544
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 ...
1
762
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.