473,725 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Basic CDONTS question

objNewMail = Server.CreateOb ject("CDONTS.Ne wMail")

How do I know whether the "Send" command from a CDONTS object actually was
sent?

Is there a status variable that can be checked? Or a log file that can be
written to?

Thanks in advance!

Steve
Jul 19 '05 #1
4 4211
BCC yourself.

All that CDONTS does is create a text file that is compliant with SMTP
requirements and drops the file in \inetpub\mailro ot\pickup. From there,
it's up to your SMTP service to handle sending it. If the message cannot be
sent, like because of a DNS issue or an invalid from address, for example,
you will see entries in the application log on the server. (I believe it's
app, and not system.)

Ray at work

p.s. Unless you're on an NT server, you should use CDOSYS. CDONTS is old
technology. http://www.aspfaq.com/2026

"Steve" <sb*****@delete this.stny.rr.co m> wrote in message
news:Du******** ***********@twi ster.nyroc.rr.c om...
objNewMail = Server.CreateOb ject("CDONTS.Ne wMail")

How do I know whether the "Send" command from a CDONTS object actually was
sent?

Is there a status variable that can be checked? Or a log file that can be
written to?

Thanks in advance!

Steve

Jul 19 '05 #2
Ray,

Thanks for your reply.

I found the message sitting in the pickup directory.

Any idea why it's just sitting there (I know this goes beyond this
newsgroup)?

Thanks again,
Steve

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:On******** ******@TK2MSFTN GP11.phx.gbl...
BCC yourself.

All that CDONTS does is create a text file that is compliant with SMTP
requirements and drops the file in \inetpub\mailro ot\pickup. From there,
it's up to your SMTP service to handle sending it. If the message cannot be sent, like because of a DNS issue or an invalid from address, for example,
you will see entries in the application log on the server. (I believe it's
app, and not system.)

Ray at work

p.s. Unless you're on an NT server, you should use CDOSYS. CDONTS is old
technology. http://www.aspfaq.com/2026

"Steve" <sb*****@delete this.stny.rr.co m> wrote in message
news:Du******** ***********@twi ster.nyroc.rr.c om...
objNewMail = Server.CreateOb ject("CDONTS.Ne wMail")

How do I know whether the "Send" command from a CDONTS object actually was sent?

Is there a status variable that can be checked? Or a log file that can be written to?

Thanks in advance!

Steve


Jul 19 '05 #3
> I found the message sitting in the pickup directory.

http://www.aspfaq.com/2268

Use CDO.Message and an SMTP server. CDONTS is horrible, and has been
deprecated for this and a variety of other reasons.

http://www.aspfaq.com/2026
Jul 19 '05 #4
Look in the event logs on the server for SMTP events. There should be
something indicating why the message couldn't be sent, either a DNS issue, a
relaying issue, or something else. Either that, or the SMTP service isn't
running.

Ray at work

"Steve" <sb*****@delete this.stny.rr.co m> wrote in message
news:IS******** ***********@twi ster.nyroc.rr.c om...
Ray,

Thanks for your reply.

I found the message sitting in the pickup directory.

Any idea why it's just sitting there (I know this goes beyond this
newsgroup)?

Thanks again,
Steve

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:On******** ******@TK2MSFTN GP11.phx.gbl...
BCC yourself.

All that CDONTS does is create a text file that is compliant with SMTP
requirements and drops the file in \inetpub\mailro ot\pickup. From there,
it's up to your SMTP service to handle sending it. If the message cannot
be
sent, like because of a DNS issue or an invalid from address, for

example, you will see entries in the application log on the server. (I believe it's app, and not system.)

Ray at work

p.s. Unless you're on an NT server, you should use CDOSYS. CDONTS is old technology. http://www.aspfaq.com/2026

"Steve" <sb*****@delete this.stny.rr.co m> wrote in message
news:Du******** ***********@twi ster.nyroc.rr.c om...
objNewMail = Server.CreateOb ject("CDONTS.Ne wMail")

How do I know whether the "Send" command from a CDONTS object actually

was sent?

Is there a status variable that can be checked? Or a log file that can be written to?

Thanks in advance!

Steve



Jul 19 '05 #5

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

Similar topics

3
4664
by: Ryan McLean | last post by:
Hello everyone! I have a question for ya'll. In a web-based asp application I am creating and (attempting to) attach a file. The email sends correctly, but when I try to open the attachment, it is blank. Now, I know you all are probably thinking that the file is blank on the server or it doesn't exist at the address that I specify. Well, I checked on the server and the file is there and there is stuff in it. Could this be a...
29
3540
by: | last post by:
I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored. I think is it ignored because it throws no errors, neither does the rest of the code setting objCDONTS=Server.CreateObject("CDONTS.NewMail") and then manipulating its properties. Do I need to somehow set IIS5 to make objCDONTS.Send work?
4
4335
by: F | last post by:
Hi Some one has posted this question on 10th August, as CDONTS is not working on windows 2003 serever. I have the same problem and I copied CDONTS.DLL from Windows 2000 Server and registered on Win 2003 server but it giving the error on line when I calling method send of the object. Error is Microsoft VBScript runtime error '800a0046'
4
4333
by: CK | last post by:
Hi all, I know this question is stupid. But i need some advice for this. I am trying to develop a website, which will allow the user send to order form to the admin email. I am planning to use the CDONTS component method. Can I just to localhost server to test, whether the form can be send up to the admin's email. Or I must have the Hosting server to do that. Can Anyone suggest me, how to I test my scripts can be successfully run (at...
16
3169
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is:
12
6299
by: Jeff | last post by:
I have a dedicated windows server on BlueGenesis. I'd like to send an email using ASP, but I'm getting this error message: Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object: 'CDONTS.NewMail' I'm told that is because CDONTS is not installed.
3
3975
by: Hugo Lefebvre | last post by:
Is there a maximum number of emails CDONTS can handle in an asp script? I have different questions about this. Question1: example1: set objSendMail = createobject("CDONTS.NewMail") ...... objSendMail.To = emailto
3
3298
by: tamaker | last post by:
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed. When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server... ...
3
3464
by: Prasad | last post by:
Hi all, I had to write a page in ASP which sends an email. I googled and was able to write the following code: <html> <body> <% Set Mail = Server.CreateObject("CDONTS.NewMail") Mail.To = "XXXXXXXXXXXX@XXXXXX.COM"
0
8749
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9249
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9164
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9095
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8077
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6697
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6005
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2624
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2153
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.