com.github.jackpanz.spring.email.EmailObject Maven / Gradle / Ivy
The newest version!
package com.github.jackpanz.spring.email;
import java.io.File;
import java.util.List;
import java.util.Map;
public class EmailObject {
String from;
String personal;
String to;
String subject;
// String content;
String smtpHost;
String port;
String userName;
String password;
boolean starttls = false;
List attachments;
String html;
String text;
public List getAttachments() {
return attachments;
}
public void setAttachments(List attachments) {
this.attachments = attachments;
}
public boolean getStarttls() {
return starttls;
}
public void setStarttls(boolean starttls) {
this.starttls = starttls;
}
public String getHtml() {
return html;
}
public void setHtml(String html) {
this.html = html;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getFrom() {
return from;
}
public void setFrom(String from) {
this.from = from;
}
public String getPersonal() {
return personal;
}
public void setPersonal(String personal) {
this.personal = personal;
}
public String getTo() {
return to;
}
public void setTo(String to) {
this.to = to;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
// public String getContent() {
// return content;
// }
//
// public void setContent(String content) {
// this.content = content;
// }
public String getSmtpHost() {
return smtpHost;
}
public void setSmtpHost(String smtpHost) {
this.smtpHost = smtpHost;
}
public String getPort() {
return port;
}
public void setPort(String 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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy