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:
- Deleting the relevant user topic(s) from the Main directory.
- Deleting the related user listing(s) in
Main.WikiUsers
- 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