473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

CDOSYS Access Denied on objMail.Send

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 = "ra*@paganini.com"
objMail.Subject = "CDOSYS Mail Message"
objMail.To = "ra*@paganini.com"
objMail.TextBody = "Hello World"
objMail.Send
set objMail = nothing

%>
Jul 19 '05 #1
1 8265
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

"Ray Paganini" <ra*@SPAMNOTpaganini.com> wrote in message
news:06****************************@phx.gbl...
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 = "ra*@paganini.com"
objMail.Subject = "CDOSYS Mail Message"
objMail.To = "ra*@paganini.com"
objMail.TextBody = "Hello World"
objMail.Send
set objMail = nothing

%>

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matt W. | last post by:
I have a script that I've used elsewhere and it always works fine. It uses CDO not CDONTS. IIS settings seem to be the same as on other servers that have websites running the same script. When...
2
by: DA | last post by:
Hello, I'm hoping someone can help me here. I've got a form that when placed on a server running HTTPS, I get an "access denied" error in IE 6 (non-SP2 and SP-2) when a user tries to upload an...
2
by: Marathoner | last post by:
I have written a Web Service in C# that attempts to log error information on our Web Server. The code below sets the path where the error information is to be written: string sFilePath =...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
1
by: Coder | last post by:
Hello, I m developing a web application and my site is placed on a hosting company. The problem is, When I try to run this code, This error code returns. "Recipient Address Rejected: Access...
1
by: LarryF | last post by:
I searched through this forum to find a answer to my problem but couldn't find it in any of the forums, so I'll describe the problem and the solution here. I am using ASP on SBS 2003 with IIS...
1
jhardman
by: jhardman | last post by:
Could I have anyone interested look into this question ? User is getting an odd "access denied" error when trying to send email with CDOSYS.
0
by: varunrap | last post by:
When using SMTP to send mail in python, I get "Relay Access Denied" for a few email IDs I am trying to send an email to and "Helo command rejected: You are not a member of " for a few others. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.