Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Wrox Book Feedback A forum to submit feedback on Wrox books if other forums on P2P have been unable to address your book-specific needs. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Wrox Book Feedback section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 17th, 2004, 04:49 PM
Registered User
 
Join Date: Feb 2004
Location: Morehead City, NC, USA.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default CDONTS send mail for Earthlink

Have set up an input form (asp) and secondary asp file to display and send input data via email. Without the mail segment, both forms work fine providing the resulting display of data etc. However, as soon as I enter the mail code (email id's changed as necessary), as follows:

Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From="xxxx@domain.net"
myMail.To="xxxx@domain.net"
myMail.Subject="Request for Info"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=FormBody 'input data consolidated to FormBody
myMail.Send
set mymail=nothing

I get the following error: Microsoft VBScript runtime error '800a0046" Permission denied. Searching the net, I have found the same problem, usually with Earthlink where this code works on other ISP's. One advised that Earthlink did not support CDONTS as an NT setup which they have turned off, rather they use Windows 2000 and asp.net. Earthlink is of no help whatsoever.....any suggestions?
Reply With Quote
  #2 (permalink)  
Old February 17th, 2004, 05:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Please post in the ASP forums.

http://p2p.wrox.com/forum.asp?FORUM_ID=54


Reply With Quote




Similar Threads
Thread Thread Starter Forum Replies Last Post
Using CDONTS to send SQL server errors kevorkian SQL Server ASP 1 April 22nd, 2005 06:15 AM
Attach E-mail in CDONTS jmss66 Classic ASP Basics 8 March 25th, 2004 09:18 PM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.