I'm running IIS 6.0 on a Win2003 server. One web page is trying to use the new CDO method of sending e-mail but generates the following error:
CDO.Message.1 error '80070005'
Access is denied.
Code:
<%
Dim objMail
set objMail = Server.CreateOb ject("CDO.Messa ge")
objMail.From = "......"
objMail.Subject = "CDOSYS Mail Message"
objMail.To = "......"
objMail.TextBod y = "Hello World"
objMail.Send
set objMail = nothing
%>
The error occurs when the objMail.Send line is invoked.
The mail does not get copied to the /Inetpub/mailroot/Pickup directory but as far as I can see, all permissions are set ok.
Is there a process prior to copying the email to the "Pickup" directory which may be causing the issue?
Many thanks in advance for any help.
CDO.Message.1 error '80070005'
Access is denied.
Code:
<%
Dim objMail
set objMail = Server.CreateOb ject("CDO.Messa ge")
objMail.From = "......"
objMail.Subject = "CDOSYS Mail Message"
objMail.To = "......"
objMail.TextBod y = "Hello World"
objMail.Send
set objMail = nothing
%>
The error occurs when the objMail.Send line is invoked.
The mail does not get copied to the /Inetpub/mailroot/Pickup directory but as far as I can see, all permissions are set ok.
Is there a process prior to copying the email to the "Pickup" directory which may be causing the issue?
Many thanks in advance for any help.
Comment