Email configuration errors are frequently a cause of problems for the new Foswiki installation.

Configure needs a way to send a test message to verify that email is functional.

Sample output from the function:

Sending the following message using Net::SMTP::SSL
From: webmaster@example.com
To: webmaster@example.com
Subject: Test of Foswiki e-mail facility from configure
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2D594AE113AD25493C2C7246"

This is a multi-part message in MIME format.
--------------2D594AE113AD25493C2C7246
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

It Works!  Test message from Foswiki.


Please wait ... connecting to server ...
Results:
Net::SMTP::SSL>>> Net::SMTP::SSL(1.01)
Net::SMTP::SSL>>>   IO::Socket::SSL(1.35)
Net::SMTP::SSL>>>     IO::Socket::INET6(2.63)
Net::SMTP::SSL>>>       IO::Socket(1.31)
Net::SMTP::SSL>>>         IO::Handle(1.28)
Net::SMTP::SSL>>>           Exporter(5.64_01)
Net::SMTP::SSL>>>   Net::Cmd(2.29)
Net::SMTP::SSL=GLOB(0x88b3c00)<<< 220 mx.google.com ESMTP hw7sm4967192icc.15
Net::SMTP::SSL=GLOB(0x88b3c00)>>> EHLO localhost.localdomain

...
-- GeorgeClark - 27 Jun 2011

Oops - this was a duplicate of Item951.

-- GeorgeClark - 05 Jul 2011

Thanks for implementing this. I came to report it wink

-- MartinCleaver - 24 Aug 2011
 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads