Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Email server configuration

rucek edited this page Nov 10, 2014 · 1 revision

To use email notifications or send invitations from Codebrag, you need to configure email server and provide application URL:

Email server

email {
    smtp-host = "your.smtp.server.com"
    smtp-port = "465"
    smtp-username = "[email protected]"
    smtp-password = "password"
    from = "[email protected]"
    encoding = "UTF-8"
    ssl-connection = true
    verify-ssl-certificate = true
}

You can use internal SMTP server or external one (e.g. create GMail or Mandrill account).

Note: Make sure Java has the required security certificates when using the SSL/TLS connection. You can skip certificate verification by setting verify-ssl-certificate to false.

Application URL

Make sure that the appliation-url property is set, so that emails will contain correct Codebrag URL:

codebrag {
    ...
    application-url = "http://yourserver:8080"
}
Clone this wiki locally