Email configurations

How to add this configuration to the application

  • Add this block into ncbo_cron (config/config.rb) and ontologies_api (config/environments/appliance.rb)

        # Email notifications
        config.enable_notifications   = true
        config.email_sender           = "ontoportal@your-smtp-host" # Default sender$
        config.email_override         = '' # all email goes to this address instead of the intended recipient
        config.email_disable_override = true # if you want all email to be sent to a specific address make it false and fill config.email_override
        config.smtp_host              = "your-smtp-host"
        config.smtp_port              = 587
        config.smtp_auth_type         = :login # :none, :plain, :login, :cram_md5
        config.smtp_user              = 'ontoportal@your-smtp-host'
        config.smtp_password          = 'password'
        config.smtp_domain            = "your-smtp-host"
        config.admin_emails           = ["ontoportal-support@your-smtp-host"]