All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.neoforged.camelot.config.MailConfiguration.groovy Maven / Gradle / Ivy

package net.neoforged.camelot.config

import groovy.contracts.Requires
import groovy.transform.CompileStatic

/**
 * Base class for configuring Mail service clients.
 */
@CompileStatic
class MailConfiguration {
    /**
     * Mail service configuration
     */
    Map mailProperties

    /**
     * The username to use to connect to the mail server
     */
    String username

    /**
     * The password to use to connect to the mail server
     */
    String password

    /**
     * The email to send as
     */
    String sendAs

    @Requires({ username && password && sendAs })
    void validate() {

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy