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 8, 2024 - OpenCms 18 adds a new "Place element" mode in the page editor that allows precise element placement as an alternative to drag & drop. Reused content is now clearly marked. Automatic typographical correction of quotation marks has been added to all of the editors. “Dead links” in content that is entered in a WYSIWYG editor are now automatically disabled. Our Mercury template includes several new features, such as setting different image formats for mobile and desktop and many more.
Oct 8, 2024 - The OpenCms 18 release notes contain detailed information about the new features and fixes in this version.
Oct 8, 2024 - Alkacon OCEE 18 is the latest OCEE release for OpenCms 18. This version features a license key mechanism that allows to share the license key on several servers in a cloud installation.
Jul 8, 2024 - The Mercury template from Alkacon Software is a comprehensive, modular template based on Bootstrap 5 for OpenCms. This feature-rich template now has a complete and exhaustive documentation website.
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