Print Page | Close Window

CDONTS error

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=2982
Printed Date: 28 March 2026 at 1:39pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CDONTS error
Posted By: masson
Subject: CDONTS error
Date Posted: 23 May 2003 at 3:24pm

I'm working on an ASP form that emails info from a from. right now I'm just testing it and I get the following error

Microsoft VBScript runtime error '800a0046'
Permission denied
/preprinted/postorder.asp, line 7

My code is very simple, Line 7 is newmailobj.send

<%
set newmailobj = createobject("cdonts.newmail")
newmailobj.from = " mailto:masson@advlaser.com - masson@advlaser.com "
newmailobj.to = " mailto:masson@advlaser.com - masson@advlaser.com "
newmailobj.subject = "Test Order"
newmailobj.body = "here's the body"
newmailobj.send
set newmailobj = nothing
%>

Any ideas where i would go in IIS or exchange server to give permission for it to send mail?

Thanks! Marvin




Replies:
Posted By: fernan82
Date Posted: 23 May 2003 at 5:36pm
do you have the iis smtp server installed?

-------------
FeRnAN
http://www.danasoft.com/">


Posted By: masson
Date Posted: 27 May 2003 at 7:04am
This is where I'm going to show my ignorance. Under properties, server extensions, Email Settings, I've setup my server email address, smtp host, etc. But that's it. Is there something else I need to do?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net