POP support

This commit is contained in:
M66B
2019-02-08 11:51:17 +00:00
parent 1768028fd4
commit f246284812
11 changed files with 1614 additions and 34 deletions

View File

@@ -87,6 +87,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);