This topic is locked

Password Reminder Error

1/9/2009 5:20:36 PM
ASPRunnerPro General questions
B
bigfootnw author

I've got the email "after record added" event working on a database, but using the same settings, I can not get the "Remind Password" feature working. After entring in the ID or email address for a password reminder, I get the following error - Microsoft VBScript runtime error '800a0046' Permission denied, /asp/pipeline_retail/output/include/commonfunctions.asp, line 4897.
This refers to the myMail.Send line of the following script from that file. I'm using Windows 2000 server. ASPRunner 6.0 (build 766)
If IISVer <= "5.0" or IISVer = "7.0" Then

' Windows NT / 2000

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.From = cfrom

myMail.To = email
myMail.Subject = subject

myMail.Body = message

myMail.Send

Set myMail = Nothing
I'm not sure what to try next. Any help would be greatly appreciated.

B
bigfootnw author 1/9/2009

I needed to give write permissions to the C:\Inetpub\mailroot\Pickup\ folder on our server. IIS aparently tries to write the message there or something. Solved!!!