Question
I need to substitute a windows email program for sendmail in
LocalSite.cfg. I have no Unix experience so I'm not sure what arguments, if any, are expected by sendmail.
So, question one, if I match the argument list can I substitute for sendmail?
Question two, if so, what arguments are expected by sendmail?
Thanks for any help or guidance,
Bill Stafford
Environment
--
BillStafford - 28 Jul 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
With ActivePerl the easiest way to go would be to install the Perl module
Net::SMTP, which works just fine without any external program. TWiki will use that module if present, and as far as I can tell ignore the setting for mail program.
--
HaraldJoerg - 28 Jul 2008
Thanks for that, Harald. I was wondering why my mail was working on Windows
--
SeanCMorgan - 28 Jul 2008
Harald,
Thanks for the reply. Can you give me an idea of how to 'install' Net:SMTP. I originally just downloaded
ActivePerl from the link on the TWiki for windows page. When I look at the
ActivePerl web site I don't see downloads for individual modules, just the free trial versions of the Active products.
Thanks,
Bill Stafford
--
BillStafford - 28 Jul 2008
With
ActivePerl You have two options. From the command line you can use
ppm to install the package.
If for some reason that doesn't work, then use the CPAN script from the command line:
-
perl -MCPAN -e shell to invoke the interactive mode
-
perl -MCPAN -e "install Net::SMTP" to install the Net::SMTP module.
--
RafaelAlvarez - 29 Jul 2008
If you are still having problems, see
TWiki:TWiki.HowToInstallCpanModules#ActiveState_Perl
--
SeanCMorgan - 29 Jul 2008