String message;
- String from;
-
String replyto;
- public TestMail(String to, String subject, String message, String from, String replyto) {
+ public TestMail(String to, String subject, String message, String replyto) {
this.to = to;
this.subject = subject;
this.message = message;
- this.from = from;
this.replyto = replyto;
}
return message;
}
- public String getFrom() {
- return from;
- }
-
public String getReplyto() {
return replyto;
}
String to = dis.readUTF();
String subject = dis.readUTF();
String message = dis.readUTF();
- String from = dis.readUTF();
String replyto = dis.readUTF();
- mails.add(new TestMail(to, subject, message, from, replyto));
+ mails.add(new TestMail(to, subject, message, replyto));
} else if (type.equals("challengeAddrBox")) {
String email = dis.readUTF();
dos.writeUTF(quickEmailCheck(email));
}
@Override
- public void sendmail(String to, String subject, String message, String from, String replyto, String toname, String fromname, String errorsto, boolean extra) throws IOException {
- mails.add(new TestMail(to, subject, message, from, replyto));
+ public void sendMail(String to, String subject, String message, String replyto, String toname, String fromname, String errorsto, boolean extra) throws IOException {
+ mails.add(new TestMail(to, subject, message, replyto));
}
}