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 9, 2024 - OpenCms 17 gives content managers the new app "Date search" to find content that has been changed in a certain time range. The "Websites" app allows to easily export the content of a complete site for archiving. An option has been added to hide "sensitive" content in the Offline project. The default Mercury template has been further improved, e.g. with SEO optimized job postings, a "spacer" function and marker clusters for maps. OpenCms 17 has also been tested and certified using Java 17 LTS and 21 LTS.
Apr 9, 2024 - The OpenCms 17 release notes contain detailed information about the new features and fixes in this version.
Apr 9, 2024 - Alkacon OCEE 17 is the latest OCEE release for OpenCms 17. This version improves the cluster shutdown behaviour when using the CmsShell.
Apr 9, 2024 - Test OpenCms using the official image from the Docker hub registry - the fastest way to evaluate and test OpenCms. The image is well suited for evaluation and test purposes of the latest OpenCms release. We provide a docker-compose file to get OpenCms and the database running with just one command.
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