Groups | Blog | Home
all groups > inetserver asp general > november 2003 >

inetserver asp general : CDOSYS Access Denied on objMail.Send


Ray Paganini
11/20/2003 8:58:49 PM
I'm running IIS 6.0 with Exchange 2003. One web site
that is hosting is trying to use the new CDO method of
sending e-mail.

SMTP Service is working fine for Exchange, but for web
sites on the same box using code below generates:

CDO.Message.1 error '80070005'

Access is denied.

/test.asp, line 15

Site: http://www.ytr.com/test.asp

Code:

<%
Dim objMail
set objMail = Server.CreateObject("CDO.Message")
objMail.From = "ray@paganini.com"
objMail.Subject = "CDOSYS Mail Message"
objMail.To = "ray@paganini.com"
objMail.TextBody = "Hello World"
objMail.Send
set objMail = nothing

%>

Ray at <%=sLocation%
11/21/2003 12:08:36 AM
When you have an error like this to post, please indicate the line on which
the error is occurring.

Make sure that your IUSR account has NTFS permissions to write to the
\inetpub\mailroot\pickup directory, assuming that this same directory
structure is still used on WS2003.

Ray at home

[quoted text, click to view]

AddThis Social Bookmark Button