Question
I have a problem with sendEmail in mailnotify. I'm testing it by running it manually in the /bin directory. It works fine for notifying of registered users. But in mailnotify I get this error: '-' is not recognized as an internal or external command, operable program or batch file. No email is sent. I added a line to print out $text. It looks ok as far as I can tell but I'm not an expert. When I strip off the header stuff the .html looks good in my browser. Any suggestions for further debugging would be appreciated.
Environment
--
JerryHale - 15 Dec 2004
Answer
As a first step, post your TWiki.cfg and testenv HTML as attachments, as mentioned in
SupportGuidelines, and also post the contents of the email setup of
TWikiPreferences.
--
RichardDonkin - 16 Dec 2004
I seem to have solved it somehow.
I added Set SMTPMAILHOST = mail
--
JerryHale - 21 Dec 2004