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
.
Apr 13, 2022 - OpenCms 13 features a new plugin system as a more flexible replacement of the "headincludes" functionality. Geo search functionality has been added to find contents by geo coordinates. Extensions to the template variant mechanism allow setting overrides and renaming of formatter keys. There are also refinements for the "Mercury" default template as well as security improvements.
Apr 13, 2022 - The OpenCms 13 release notes contain detailed information about the new features and fixes in this version.
Apr 13, 2022 - Alkacon OCEE 13 is the latest OCEE release for OpenCms 13. This version fixes a number of issues that have been detected in Alkacon OCEE 12 and improves the licensing mechanism.
Oct 12, 2021 - OpenCms 12 features a headless JSON API for REST content access, together with several JavaScript demo applications that show how to use it. The default "Mercury" template has been greatly improved. Template variants allow to completely switch the generated HTML of a website simply by configuration. The updated WebDAV implementation enables mounting the OpenCms virtual file system from any WebDAV client.
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 - Privacy policy