In order to enhance simpler unit testing for mail functionality, a fake SMTP server implemented
in Java called
dumbster
is used instead of sending mails to real-world SMTP servers. This SMTP server
implementation can be downloaded from
http://quintanasoft.com/dumbster/.
As
dumbster
does not offer any functions to reject emails, we had to patch this library
(kind of ironic we had to patch a library in order to get rid of patched libraries :)
We changed the implementation in that way that all mail addresses containing
blockmail
will be rejected and therefore causing a
javax.mail.SendFaildException
.
To get the tests with the fake SMTP server running, you have to add the patched library
dumbster-1.6.jar
(is contained in the folder
test
in
library-updates-sprint.zip) to the classpath and
set the SMTP server in the
/test/data/WEB-INF/config/opencms-system.xml
to
localhost
.
Oct 18, 2017 - OpenCms 10.5.3 is a maintenance release for OpenCms 10.5. This version fixes an issue introduced with the Chrome 61 update that caused problems in the positioning of UI elements. A number of other issues have also been fixed. A new version of Alkacon OCEE is also available.
Oct 18, 2017 - The OpenCms 10.5.3 release notes contain detailed information about the new features and fixes in this version.
Jul 12, 2017 - OpenCms 10.5.2 is a maintenance release for OpenCms 10.5. This version fixes a number of issues that have been detected in OpenCms 10.5, and includes several performance and some security enhancements. It also ships with the versatile, Bootstrap based Apollo Template. An updated version of Alkacon OCEE is available as well.
Jul 12, 2017 - The OpenCms 10.5.2 release notes contain detailed information about the new features and fixes in this version.
Do you want to take a quick test drive of OpenCms to get an impression of its great features? Try out the OpenCms Live Demo website available at http://demo.opencms.org
© Alkacon Software GmbH & Co. KG - http://www.alkacon.com - Terms of use - Impressum