473,385 Members | 1,312 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,385 software developers and data experts.

CDONTS Permission Denied Problem...

Hi everyone...

I'm having a problem sending an email message using the CDONTS object
because of a "permission denied" error. Assume the following variables are
in the ASP file....

txtSubject = "This is a test"
txtToEmail = "rm*****@hotmail.com"
txtFromEmail = "rm*****@hotmail.com"
txtMessage = "Some message"

Here is my ASP code...

'Create mail object and send the email message...
set objMail = server.CreateObject("CDONTS.NewMail")
objMail.To = txtToEmail
objMail.From = txtFromEmail
objMail.Subject = txtSubject
objMail.Body = txtMessage
objMail.Send

How do I fix this problem?

Sincerely,

Robert
Jul 19 '05 #1
2 7223
Jon
> Hi everyone...

I'm having a problem sending an email message using the CDONTS object
because of a "permission denied" error. Assume the following variables are in the ASP file....

txtSubject = "This is a test"
txtToEmail = "rm*****@hotmail.com"
txtFromEmail = "rm*****@hotmail.com"
txtMessage = "Some message"

Here is my ASP code...

'Create mail object and send the email message...
set objMail = server.CreateObject("CDONTS.NewMail")
objMail.To = txtToEmail
objMail.From = txtFromEmail
objMail.Subject = txtSubject
objMail.Body = txtMessage
objMail.Send

How do I fix this problem?

Sincerely,

Robert


Is it now Server 2003:
http://www.tconsult.com/aspnet/serve...03_cdonts.aspx ?
Jul 19 '05 #2
Your IUSR account needs write permissions to \inetpub\mailroot\pickup.

Ray at work

"Robert Suffecool" <rm*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi everyone...

I'm having a problem sending an email message using the CDONTS object
because of a "permission denied" error. Assume the following variables are in the ASP file....

txtSubject = "This is a test"
txtToEmail = "rm*****@hotmail.com"
txtFromEmail = "rm*****@hotmail.com"
txtMessage = "Some message"

Here is my ASP code...

'Create mail object and send the email message...
set objMail = server.CreateObject("CDONTS.NewMail")
objMail.To = txtToEmail
objMail.From = txtFromEmail
objMail.Subject = txtSubject
objMail.Body = txtMessage
objMail.Send

How do I fix this problem?

Sincerely,

Robert

Jul 19 '05 #3

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

Similar topics

6
by: Jon Montana | last post by:
CDONTS was working well until I installed Exchange 2000. I thought it might be a relay problem, but I allowed the server IP address to relay. Thanks for anything you can offer. here's the...
2
by: Antknee | last post by:
Hi. I have a Win2k SP4 server running Exchange 2000 SP3 and IIS 5. I am trying to implement a simple asp page that sends email using cdonts. No matter what script I try I get the error: ...
10
by: Seeker | last post by:
Hi! I have to do some developing and I'm trying to configure my server to mimic the operation of our production server. The issue I'm having is that I'm trying to use CDONTS to send an email...
6
by: vasanth kumar | last post by:
I am running the following script for sending e-mail thro web Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = "vkumar@ugs.com" objCDOMail.To = "vkumar@ugs.com"...
4
by: F | last post by:
Hi Some one has posted this question on 10th August, as CDONTS is not working on windows 2003 serever. I have the same problem and I copied CDONTS.DLL from Windows 2000 Server and registered on...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.