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

com.day.cq.mailer.commons.MailerConfig Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package com.day.cq.mailer.commons;

public class MailerConfig {

    private  String smtpHost;
    private int smtpPort;
    private String smtpUser;
    private String smtpPassword;
    private String fromAddress;
    private boolean debugEmail;
    private boolean smtpSsl;
    private boolean smtpTls;
    private boolean requireTls;
    private boolean oauthFlow ;

    public MailerConfig(String smtpHost, int smtpPort, String smtpUser, String smtpPassword, String fromAddress, boolean debugEmail, boolean smtpSsl, boolean smtpTls, boolean requireTls, boolean oauthFlow) {
        this.smtpHost = smtpHost;
        this.smtpPort = smtpPort;
        this.smtpUser = smtpUser;
        this.smtpPassword = smtpPassword;
        this.fromAddress = fromAddress;
        this.debugEmail = debugEmail;
        this.smtpSsl = smtpSsl;
        this.smtpTls = smtpTls;
        this.requireTls = requireTls;
        this.oauthFlow = oauthFlow;
    }

    public String getSmtpHost() {
        return smtpHost;
    }

    public int getSmtpPort() {
        return smtpPort;
    }

    public String getSmtpUser() {
        return smtpUser;
    }

    public String getSmtpPassword() {
        return smtpPassword;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public boolean isDebugEmail() {
        return debugEmail;
    }

    public boolean isSmtpSsl() {
        return smtpSsl;
    }

    public boolean isSmtpTls() {
        return smtpTls;
    }

    public boolean isRequireTls() {
        return requireTls;
    }

    public boolean isOauthFlow() {
        return oauthFlow;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy