Added option for 8BITMIME

This commit is contained in:
M66B
2022-06-20 22:02:22 +02:00
parent 983ee91a73
commit 0fdd510381
8 changed files with 2797 additions and 3 deletions

View File

@@ -315,6 +315,10 @@ public class EmailService implements AutoCloseable {
properties.put("mail.mime.allowutf8", Boolean.toString(value));
}
void set8BitMime(boolean value) {
properties.put("mail." + protocol + ".allow8bitmime", Boolean.toString(value));
}
// https://tools.ietf.org/html/rfc3461
void setDsnNotify(String what) {
properties.put("mail." + protocol + ".dsn.notify", what);