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

com.heanbian.boot.autoconfigure.email.EmailProperties Maven / Gradle / Ivy

There is a newer version: 20200807
Show newest version
package com.heanbian.boot.autoconfigure.email;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "heanbian.email")
public class EmailProperties {

	private String host;

	private int port;

	private String username;

	private String password;

	private String from;

	private boolean debug;

	private boolean enabled = false;

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public boolean isDebug() {
		return debug;
	}

	public void setDebug(boolean debug) {
		this.debug = debug;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy