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

kz.greetgo.email.Email Maven / Gradle / Ivy

package kz.greetgo.email;

import java.util.ArrayList;
import java.util.List;

public class Email {
  private String from;
  private String to;
  private String subject;
  private String body;
  private String name;
  private final List attachments = new ArrayList();

  private final List copies = new ArrayList();

  public String getFrom() {
    return from;
  }

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

  public String getTo() {
    return to;
  }

  public String getName() {
    return name;
  }

  public void setTo(String to) {
    this.to = to;
  }

  public String getSubject() {
    return subject;
  }

  public void setSubject(String subject) {
    this.subject = subject;
  }

  public String getBody() {
    return body;
  }

  public void setBody(String body) {
    this.body = body;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List getAttachments() {
    return attachments;
  }

  public List getCopies() {
    return copies;
  }

  @Override
  public String toString() {
    return "Email [from=" + from + ", to=" + to + ", subject=" + subject + ", body=" + body
      + ", attachments=" + attachments + ", copies=" + copies + "]";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy