Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDONTS Permission denied

Status
Not open for further replies.

juanferman

Programmer
Nov 14, 2001
40
US
Hi guys,

I'm here again.

I have problems. When I try to run an script to send emails using CDONTS I have the error: Permission denied in the line 12 (objNewMail.Send)

Can any body of you help me solving this issue ?

Thanks very much.

The Code that I'm using is:

<%
Set objNewMail = Server.CreateObject(&quot;CDONTS.NewMail&quot;)

objNewMail.From = &quot;jsarria@aol.com&quot;
objNewMail.To = &quot;Berberian@aol.com; cmdwebmaster@brother.com&quot;
objNewMail.Cc = &quot;cat@aol.com&quot;

objNewMail.Subject = &quot;Testing email&quot;
objNewMail.Body = &quot;Testing email using: CDONTS.NewMail&quot;
objNewMail.MailFormat = 0
objNewMail.BodyFormat = 0
objNewMail.Send
Set objNewMail = Nothing
%>
===================
::) Juan F. Sarria
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top