Why do I get C00402CE / C00402C7 errors?
If using CDONTS.NewMail, you might have come across this error, from files in your badmail folder:
Check permissions on the mailroot folder. IUSR_MachineName, or the authenticated user(s)/group(s), needs to have write permissions on several of its subfolders.
Try running the site / application in a different application protection level. This is not a fix, obviously, but a bandaid in case the situation is dire.
Another alternative is to use CDO.Message instead (which you'll eventually have to do anyway, since CDONTS.NewMail has been deprecated -- and no longer ships with Windows XP / .NET Server). See Article #2026 for information on using CDO.Message.
If this is the error message you received:
Check to make sure that your SMTP service is running and that your CDONTS code sets proper and valid from and to addresses. There have been several reported problems about sending mail through CDONTS when the domain is the same as the smart host, or not the same as the smart host, and these seem to always be alleviated by using CDO.Message or a third-party component, which uses an SMTP server as opposed to the local Exchange system.
Jared Tullis suggested that turning off the "Enable drop directory quota" feature in his domain's properties cleared up this problem.
Related ArticlesCan I get CDO messages to return a read receipt?
Can I use a remote SMTP server with CDONTS.NewMail?
How do I alter the priority / importance of an e-mail message?
How do I prevent my links from wrapping in an e-mail?
How do I put carriage returns into an e-mail?
How do I send e-mail from ASP?
How do I send e-mail from SQL Server?
How do I send e-mail in HTML format?
How do I send e-mail with CDO?
How do I validate an e-mail address?
Should I use form action=mailto: to mail the results of a form?
Where can I get more details about configuring / using CDO?
Why can't ASP handle 80,000 e-mails?
Why do CDONTS messages end up in the badmail folder?
Why do I get 8000900F errors?
Why do I get 80040108 errors?
Why do I get 8004020A errors?
Why do I get 80090020 errors?
Why does CDO.Message give 800C000D errors?
Why does CDO.Message give me 8004020F errors?
Why does CDO.Message give me 80040213 errors?
Why does CDO.Message give me 80040222 errors?
Why does my CDONTS mail hang out in the queue or pickup folders?
Why is e-mail to certain domains being rejected?