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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDONTS.NewMail does not work 1

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
I used the following sample code in my ASP file.

***
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From = "Example@microsoft.com"
myMail.To = "seaport2001@netscape.net"
myMail.Subject = "Sample Message"
myMail.Body = "This is a sample message."

response.write myMail.version

myMail.Send

Set myMail = Nothing
***

No message has been sent to my email box. The page does show the version of the CDONTS, which is 1.2. It seems that CDONTS does work on the server.

The code used to work fine before.

Is there any configuration change on the server may affect CDONTS?

Thanks in advance.

Seaport

 
Durug,

I checked the Sever, the status of the SMTP service is "Start."

What else can I do?

Seaport
 
Look under C:\inetpub\mailroot and check all the folders from there. See if you have anything there. If it's Badmail directory then something wrong with the email address, etc..

 
I got a bunch of files in that folder. The content of the BDR file is like”

***
Unable to deliver this message because the follow error was encountered: "Error is processing file in pickup directory.".

The specific error code was 0xC00402CE.


The message sender was …
***

I do not know about “pickup” directory. I do know there is a “pickup” folder under “MailRoot” folder.

I also got a bunch of email messages in the “drop” folder. These messages were sent by the server postmaster to the sender of all failed-delivered emails. The content of these messages are like:
***
This is an automatically generated Delivery Status Notification.

Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.
***
I am pretty sure that the recipient address in the failed-devlivered email is right.
I guess those messages are left in the “drop” folder since the sender address of the failed-delivered message is not a real address. I did not expect any reply.

By the way, I know little about IIS. Could you tell me some books or online resources about IIS, or more specifically, about what these folders under “InetPub” folder are for?

Thanks so much.

Seaport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top