The error is:
error '80070003'
The system cannot find the path specified.
/intranet/hmsys/etest.asp, line 17
The code is:
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[changed to protect the innocent]"
objCDO.From = "[changed to protect the innocent]"
Dim txtSubject
txtSubject = "This is an automated notification email from HMSys v2.0.0." &
vbCrLf & "Please do not reply to this address." & vbCrLf & vbCrLf
objCDO.Subject = "HMSys Auto Notification"
objCDO.Body = txtSubject
objCDO.Importance = 2 'High importance!
objCDO.Send 'Send off the email!
'Cleanup
Set objCDO = Nothing
The email notifications have been working for about 3 weeks. As of last
night (after the server reset) I get the above error everywhere an email is
supposed to be sent, with the line number pointing to the objCDO.Send line.
The only thing that changes in the above code in other parts of the app is
the body of the message.
"Jeff Dillon" wrote:
What is the exact error message? And post the code that you are using.
Jeff
"kelsloris" <ke*******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com... I have an asp app that uses CDONTS to send email notifications. On the
..send method I get an error saying the specified path could not be found.
Everything I find about this error refers to IMS and the IMC folder. They
say to install IMS and set the pickup folder to the IMCDATA folder.
The problem is that this was working just fine until yesterday. We reset
the server yesterday and now all of a sudden the app cannot send email. Any
idea why this would happen? Is there some way to fix it besides trying to
install IMS? I don't understand how it could work one day and not the next, when
no configuration changes were made.
Thanks for your help!