At 07:51 AM 11/4/2002 -0600, you wrote:
On Mon, Nov 04, 2002 at 04:42:10AM -0400, beno wrote:
I changed the name of the script to mailScript() from superValues(). I didn't pass any parameters. The original script had *Mail Host* as opposed to *MailHost* but I tried both. What am I missing?
The explanation attached to the recipe said "if you have a Mail Host anywhere below the location of this script (superValues()) it will use the first one it finds (thus the [0]). if not it will raise an Exception, which you can catch in your DTML. "
So the superValues() call is pretty essential to its function. I'm not sure how "above" and "below" were defined for the author, but add a mailhost object somewhere in one of the parent folders of the script and try it unedited first.
<:-} This is what I get for assuming that just because they called their script superValues() and I didn't that a call to superValues() wasn't a call to the script they wrote. Thank you. Sorry for wasting your time. beno