Hi hbcomcn,
Your OpenKM.cfg and openkm-emails.properties seem to be correct. The problem is probably in the mail-service.xml.
From your first config, the mail service is bound properly but the smtp does not seem to be configured properly. You need to configure your smtp server to relay to smtp.gmail.com.
For your second config, which you used skowit\'s setup, it should work but it did not because the mail service is not bound. You may try to change mail-service.xml in this line:
<attribute name=\"JNDIName\">java:/mail/OpenKM</attribute>
to
<attribute name=\"JNDIName\">java:/Mail/OpenKM</attribute>
in real time, meaning OpenKM is running then check the logs for the mail service to bound. If this doesn\'t work then revert back to the previous setting while checking the log for the mail service to bind. You may also want to restart OpenKM then check.
Thanks.