On Wed, 9 Jan 2002, Rohesia Hamilton wrote:

> Hello,
>
> I have recently finished my first perl script, which
> processes a form, returns an html thank you page to
> the submitter, sends them a confirmation email, sends
> the company (whose website the form is for) an email
> and appends the contents of the form to a text file.
>
> I used my UNIX account as I put the script together
> (easy to debug) and it works perfectly from there.
>
> Where it is supposed to go, however, is on a Windows
> NT server, so I've moved it there to try. The html
> page is returned perfectly (suggesting to the
> submitter that all is well, thank you) but no emails
> get sent and (as far as I can tell) no text file gets
> created (in my original, the text file created itself
> right in the cgi-bin -- as I could access it fine, I
> left it there).
>

I'm assuming this is the problem (though there could be others) as to
why emails aren't sentB:

> # Setting up to send an email to the person who
> submitted the form with a cc to x-person
> $emailProgram   = "| /usr/sbin/sendmail -oi -t";

I don't know what mail program you would be using on your NT machine,
but I doubt it's called sendmail, and I'm betting windows doesn't know
what you're talking about when you use '/' to delimit directories.

But I don't and have never done any development on windows...

Hope that helps.

Christopher


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to