Hi, i'm hoping someone can help me get windows2003 set for smtp. I went into control panel and installed component, under details of iis6, of smtp. it asked for my disk and everything worked, i have an asp page that creates the cdo object like so:
Set myMail=CreateObject("CDO.Message")
When i go to the form onLine i get error of:
VBScript runtime error '800a0046'
Permissions denied: 'CreateObject'
I'm newish to this... so all i did was install the component off the disk... is there something i need to do in iis6?
Set myMail=CreateObject("CDO.Message")
When i go to the form onLine i get error of:
VBScript runtime error '800a0046'
Permissions denied: 'CreateObject'
I'm newish to this... so all i did was install the component off the disk... is there something i need to do in iis6?
Code:
'asp code
email = Request("email")
Set myMail=CreateObject("CDO.Message")
Mail.Subject = "Web Contact Form"
myMail.From=email
myMail.To="my@email.com"
myMail.TextBody="testing"
strErr = ""
bSuccess = False
On Error Resume Next ' catch errors
Mail.Send ' send message
If Err <> 0 Then ' error occurred
strErr = Err.Description
else
bSuccess = True
End If
%>