Newsgroup: it.comp.www.asp
Titolo: Perdonatemi ... ancora CDONTS

Seguo le istruzioni per usare l'oggetto CDONTS ma mi da questo errore
quando cerco di spedire il messaggio:
error '80070003'
The system cannot find the path specified.
/equipe1_local/areariv/ext_sendorder.asp, line 24
ecco il codice :
Name = "Prova"
SenderEmail = "
orderm...@equipe.com
"
Subject = "Conferma Ordine"
Recipient = "
mmar...@equipe.com
"
Body = "L'ordine è stato preso in visione dal sistema ed è stato
processato."
Set MyMail = Server.CreateObject ("CDONTS.NewMail")
MyMail.From = Senderemail
MyMail.Subject = Subject
MyMail.To = Recipient
MyMail.Body = Body
MyMail.Importance = 1
MyMail.MailFormat=0
MyMail.send
Uso IIS e Exchange Server 5.5 ... che devo configurare ???
Grazie
Marco
--
Postato da WEBSERVER [213.45.47.244]
ASPItalia.com 
http://www.ASPItalia.com/
Tutto su ASP, WSH, XML, XSL, IIS, NT, Win2k

 /equipe1_local/areariv/ext_sendorder.asp, line 24
--
Glauco
__________________________________________________
The Rules Have Changed...Get Paid to Surf the Web!
http://www.alladvantage.com/go.asp?refid=kkk390

Tiè, beccati questa da MSDN:
PRB: Path Not Found When Using CDONTS with IMC
ID: Q235681
----------------------------------------------------------------------------
----
The information in this article applies to:
Microsoft Exchange Server, version 5.5
Collaboration Data Objects (CDO) for NTS, versions 1.2, 2.0
----------------------------------------------------------------------------
----
SYMPTOMS
If you have a configuration where, Microsoft Exchange server and Internet
Information server (IIS) are installed on the same computer and the Internet
Mail Services (IMS) from Microsoft Exchange server is being used to deliver
SMTP messages, you might get the following error message when trying to send
e-mail using the CDONTS.NewMail object:
'80070003' - The system cannot find the path specified
CAUSE
When the Windows NT 4.0 Option Pack was installed on your server, it
installs CDONTS. CDONTS, by default, is configured to use the
Inetpub\Mailroot folders to send and receive e-mail. However, these folders
do not exist unless the IIS SMTP service is also installed.
In the configuration mentioned in the SUMMARY section, IIS SMTP service is
missing.
RESOLUTION
To resolve the missing IIS SMTP service, you need to set the pickup
directory for CDONTS to the IMCDATA directory used by your IMS. Therefore,
the messages created by CDONTS will be delivered by the Exchange IMS. One
method to do this is to first install the IIS SMTP service, and then disable
it.
Start the Windows NT 4.0 Option Pack setup.
Select the option to install the IIS SMTP service.
You will receive a message informing you that you can either have this or
your IMC. You need to click OK and continue as you will not be using this
IIS SMTP service. (NOTE: You are using this setup just to configure the pick
up directory.)
After you continue with the setup, you will receive a dialog box prompting
you to enter the pickup path. By default, the pickup path is set to
Inetpub\Mailroot.
Change this to point to your IMCDATA folder.
Continue with the Windows NT 4.0 Option Pack setup.
You will need to stop the IIS SMTP service because you will not be using it
since the Exchange IMS will be handling the message delivery for the
messages created by CDONTS.
STATUS
This behavior is by design.
Additional query words:
Keywords : kbXchge kbXchge550 kbMsg kbCDONTS kbGrpMsg kbDSupport
Version : WINDOWS:1.2,2.0; winnt:5.5
Platform : WINDOWS winnt
Issue type : kbprb

 ha scritto nel messaggio
news:8jf91b$hnc$1...@fe1.cs.interbusiness.it...
