Basic POP3 support

This commit is contained in:
M66B
2019-02-09 21:03:53 +00:00
parent e64178d530
commit e7dd1a01b1
18 changed files with 1810 additions and 78 deletions

View File

@@ -89,6 +89,10 @@ public class EntityIdentity {
public String error;
public Long last_connected;
String getProtocol() {
return (starttls ? "smtp" : "smtps");
}
public JSONObject toJSON() throws JSONException {
JSONObject json = new JSONObject();
json.put("id", id);