Since the Email Formatter consumer is supposed to format and send emails, we will be using a dummy Simple Mail Transfer Protocol (SMTP) server, as it is just for demonstration purposes. For this, fakeSMTP is used, which can be downloaded from http://nilhcem.com/FakeSMTP/download.html. After downloading and unzipping it, the following command can be used to run fakeSMTP:
$ java -jar fakeSMTP-<version>.jar
This will open the following window:
Clicking on the Start Server button will make it start to listen for SMTP requests.