473,320 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Basic CDONTS question

objNewMail = Server.CreateObject("CDONTS.NewMail")

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 4192
BCC yourself.

All that CDONTS does is create a text file that is compliant with SMTP
requirements and drops the file in \inetpub\mailroot\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*****@deletethis.stny.rr.com> wrote in message
news:Du*******************@twister.nyroc.rr.com...
objNewMail = Server.CreateObject("CDONTS.NewMail")

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**************@TK2MSFTNGP11.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\mailroot\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*****@deletethis.stny.rr.com> wrote in message
news:Du*******************@twister.nyroc.rr.com...
objNewMail = Server.CreateObject("CDONTS.NewMail")

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*****@deletethis.stny.rr.com> wrote in message
news:IS*******************@twister.nyroc.rr.com...
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**************@TK2MSFTNGP11.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\mailroot\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*****@deletethis.stny.rr.com> wrote in message
news:Du*******************@twister.nyroc.rr.com...
objNewMail = Server.CreateObject("CDONTS.NewMail")

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
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...
29
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...
4
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...
4
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...
16
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....
12
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...
3
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") ...... ...
3
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...
3
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 =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.