Do the following changes:
File: com.option3.docube.cfg
Path: /opt/docube/apache-karaf-4.0.6/etc
Modifications:
docube.mail.smtp=true
docube.mail.hostName=smtp.gmail.com
docube.mail.port=587
docube.mail.username=mailtest.option3@gmail.com
docube.mail.password=Option#123
docube.mail.enableSslOnconnect=true
Once these changes are done, restart karaf by following below steps.
Path: /opt/docube/
commands:
./apache-karaf-4.0.6/bin/status
./apache-karaf-4.0.6/bin/stop
./apache-karaf-4.0.6/bin/start