Added send partial

This commit is contained in:
M66B
2024-03-13 13:31:55 +01:00
parent 456dc1be92
commit edc0147868
8 changed files with 148 additions and 14 deletions

View File

@@ -332,6 +332,10 @@ public class EmailService implements AutoCloseable {
properties.put("mail." + protocol + ".ignorebodystructuresize", Boolean.toString(enabled));
}
void setSendPartial(boolean enabled) {
properties.put("mail." + protocol + ".sendpartial", Boolean.toString(enabled));
}
void setUseIp(boolean enabled, String host) {
this.useip = enabled;
this.ehlo = host;