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

io.github.ilyalisov.mail.config.MailConfiguration Maven / Gradle / Ivy

package io.github.ilyalisov.mail.config;

public interface MailConfiguration {

    /**
     * Returns HTML template file name for email.
     *
     * @return HTML template file name to be populated or null if it is plain
     */
    String getTemplateFileName();

    /**
     * Returns subject of email.
     *
     * @return subject of email
     */
    String getSubject();


    /**
     * Returns true if email is in HTML format.
     *
     * @return true if email is in HTML format, false is plain
     */
    boolean isHtml();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy