469,902 Members | 1,944 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

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 4055
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Jeff | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.