469,898 Members | 1,792 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

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 7033
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Jon Montana | last post: by
2 posts views Thread by Antknee | last post: by
6 posts views Thread by vasanth kumar | last post: by
2 posts views Thread by Taishi | last post: by
reply views Thread by private.anders | last post: by
reply views Thread by private.anders | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.