N
Nate
I have the following ASP code on a simple "experimental" page:
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="(e-mail address removed)"
myMail.To="(e-mail address removed)"
myMail.CreateMHTMLBody "http://cic/targeted/results.asp"
mymail.configuration.fields.item("http://schemas.microsoft.com/cdo/
configuration/sendusing")=2
mymail.configuration.fields.item("http://schemas.microsoft.com/cdo/
configuration/smtpserver")="172.30.8.51"
mymail.configuration.fields.item("http://schemas.microsoft.com/cdo/
configuration/smtpserverport")=25
mymail.configuration.fields.update
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Any ideas?
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="(e-mail address removed)"
myMail.To="(e-mail address removed)"
myMail.CreateMHTMLBody "http://cic/targeted/results.asp"
mymail.configuration.fields.item("http://schemas.microsoft.com/cdo/
configuration/sendusing")=2
mymail.configuration.fields.item("http://schemas.microsoft.com/cdo/
configuration/smtpserver")="172.30.8.51"
mymail.configuration.fields.item("http://schemas.microsoft.com/cdo/
configuration/smtpserverport")=25
mymail.configuration.fields.update
myMail.Send
set myMail=nothing
%>
When attempting to hit this page, I receive:
CDO.Message.1 error '80070005'
Access is denied.
/experiments/emailtest.asp, line 6
I ran LogMon, and found the following error whenever I hit the page:
4:49:37 PM w3wp.exe:2992 OPEN D:\CIC ACCESS DENIED NT
AUTHORITY
\NETWORK SERVICE
I've tried adding the network service user to D:\CIC, but the same
error persists.
Any ideas?