Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>

<config  xmlns="urn:com.cohga.server.config#1.0" xmlns:mail="urn:com.cohga.server.mail#1.0">

    <mail:smtp>
        <host>mail.example.com</host>
        <username>myuser<        <user>myuser</username>user>
        <password>ENCEAUFJCUABCFXEMFQABFJEBZJAKFCXGME</password>
    </mail:smtp>

</config>

The smtp config requires at least the host property, to provide the hostname or ip address of the mail server. It may also requires the username user and password setting if the mail server requires authentication before it will send any email (the password can be encrypted using the encrpyt command and the osgi prompt).
Additionally any setting supported by the Java Mail API may also be specified, by removing the mail.smtp. prefix from the setting and including it in the smtp config.
The available Java Mail API setting are available here.

...