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="
[email protected]"
myMail.To="
[email protected]"
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?