This question about Configuration: Answered

How can I test that sendmail works?

I've got Foswiki set up on an internal server, and the technicians are working on enabling the mail delivery (it's a security policy process, not technical).

How can I test whether the mail functionality works, from within Foswiki?

I know I can log off and click "forgot my password" to force an email to be sent, and if none arrives I can assume it doesn't work yet. But that's a really ugly workaround because then I would have to actually reset my password again, which is quite a mess without mail functionality.


When I am setting up a new Foswiki installation, I often need to create test users for various reasons including checking whether outgoing mail is working. My practice is to name these users with first name "Test" which makes it relatively easy to locate and delete them later. Personally, I do that clean up on file level by:
  1. Deleting the relevant user topic(s) from the Main directory.
  2. Deleting the related user listing(s) in Main.WikiUsers
  3. Deleting the related line(s) from /data/.htaccess

Another option for testing outgoing emails would be SendEmailPlugin however I would not consider this one purpose justification to install the plugin.

-- LynnwoodBrown - 27 Aug 2010

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.0.9
Status Answered
Topic revision: r2 - 27 Aug 2010, LynnwoodBrown
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy