We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x02x00
TWiki plugins: No plugins explicitly installed
Server OS: Windows 2003
Web server: Apache
Perl version: ActivePerl 5.8.8 for windows
Client OS: windows xp
Web Browser: FireFox?
Categories: Mail

-- BillStafford - 28 Jul 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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 smile

-- 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

 
Change status to:
Topic revision: r6 - 29 Jul 2008 - 14:57:45 - SeanCMorgan
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback