Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDONTS problem

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
This code has suddenly stopped working.

<%
Dim myMail
Set myMail = CreateObject(&quot;CDONTS.NewMail&quot;)
myMail.From = &quot;Suggestion Box&quot;
myMail.To = &quot;myemail@mydomain.com&quot;
myMail.Subject = &quot;Suggestion Box Results&quot;
myMail.Body = &quot;email body here&quot;
myMail.Send
Set myMail = Nothing
%>

No error messages are generated, but the mail is not being sent.

This event is logged in NT4:
Virtual Server 1: Routing extension was not specified. Delivery to mailboxes is not available.

Any ideas?
 
Probably something gone awry with your SMTP server on the box where you are trying to execute it.

If the code is working one day, and not the next, then it's not your code that's not working -- it's the mail server.

Wish I could shed more light, but if you talk to your network admin (hoping that's not you ;-)), then maybe you can get it straightened out.

:)
penny.gif
penny.gif
 
The SMPT Service is running, but the SMPT Site in IIS is not. I tried starting it, but it comes back w/ the error &quot;...did not respond in a timely fashion.&quot;

Any ideas?
 
:-(

Well, I'd try rebooting the server and see if it automatically starts back up like it should. Beyond that, it's really without the realm of my knowledge.

I can 99.9% guarantee you that you've found the problem, however. Wish I could do more. Maybe if you shoot on over to the NT forum (or Win2K, whichever) -- I bet those ppl could help you out.

penny.gif
penny.gif
 
This has happened to me before.. there can not be any spaces in the &quot;Mail From&quot;

Put an underscore or somehting and it might work.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top