Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > CDONTS Permission Denied Problem...

Reply
Thread Tools

CDONTS Permission Denied Problem...

 
 
Robert Suffecool
Guest
Posts: n/a
 
      12-26-2003
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 = "(E-Mail Removed)"
txtFromEmail = "(E-Mail Removed)"
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


 
Reply With Quote
 
 
 
 
Jon
Guest
Posts: n/a
 
      12-26-2003
> 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 = "(E-Mail Removed)"
> txtFromEmail = "(E-Mail Removed)"
> 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 ?


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      12-26-2003
Your IUSR account needs write permissions to \inetpub\mailroot\pickup.

Ray at work

"Robert Suffecool" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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 = "(E-Mail Removed)"
> txtFromEmail = "(E-Mail Removed)"
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {555F3418-D99E-4E51-800A-6E89CFD8B1D7} to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19). Skybuck Flying Windows 64bit 1 06-29-2009 06:17 PM
Workgroup Permission Denied (Usually) Bob Ryan Wireless Networking 2 09-28-2007 09:46 PM
bash: ./firefox-installer: /bin/sh: bad interpreter: Permission denied damon Firefox 7 08-29-2007 08:50 PM
CDONTS Send- Permission Denied Jon Montana ASP General 5 12-06-2003 02:25 AM
bash: /root/remstats.pl: /usr/bin/perl: bad interpreter: Permission denied Goblin Perl 1 08-14-2003 11:11 AM



Advertisments