mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Omit name on hard bounce
This commit is contained in:
@@ -297,6 +297,9 @@ public class MessageHelper {
|
||||
}
|
||||
}
|
||||
|
||||
if (EntityMessage.DSN_HARD_BOUNCE.equals(message.dsn))
|
||||
name = null;
|
||||
|
||||
imessage.setFrom(new InternetAddress(email, name, StandardCharsets.UTF_8.name()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user