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

cdonts setup

Status
Not open for further replies.

Ricjd

Programmer
Sep 12, 2002
104
GB
I have windows 200 server with xchange 2000 server installed on it. with previous installations everything worked fine when i used the script below.

but now with this installation then it does not work anymore. i have looked all around he setting and cannot find anything which seems out of place.

I was wondering if anybody had any ideas.

Thanking you in advance rick
[tt]
Set MyCDO = Server.CreateObject("CDO.NewMail")
If IsObject (MyCDO) Then
MyCDO.From = "info@canaryproperty.com (CanaryProperty.com Rentals)"
MyCDO.To = "richard@canaryproperty.com (CanaryProperty.com Rentals)" 'toEmail
MyCDO.Subject = "A accomodation rental has been canceled"
MyCDO.Body = "this is a tes to see if this is working for just one internal cdo"
MyCDO.Importance = 2 (High)
MyCDO.value("Reply-to")="info@canaryproperty.com (CanaryProperty.com Rentals)"
MyCDO.Send
Set MyCDO = nothing[/tt]
 
Hi,

I've not seen CDO.NewMail, but I do use CDONTS.NewMail

Digga

Sharing Knowledge Saves Valuable Time!
 
sorry it is CDONTS, i was trying CDO for testing.

Rick
 
Hi Rick,

my understanding is that you cannot run the IIS SMTP service if Exchange has the IMC (internet mail connector [5.5 terminology, not sure what 2000 is) installed, so the CDONTS doesn't know where to put the mail.

Installing Exchange removes the smtp service for IIS.

You may want to try this:


Digga

Sharing Knowledge Saves Valuable Time!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top