mirror of https://github.com/M66B/FairEmail.git
Skip default cc/bcc and reply-to for DSNs
This commit is contained in:
parent
92506bcb74
commit
e972270968
|
@ -442,7 +442,8 @@ public class MessageHelper {
|
|||
|
||||
// Send message
|
||||
if (identity != null) {
|
||||
if (message.headers == null || !Boolean.TRUE.equals(message.resend)) {
|
||||
if ((message.headers == null || !Boolean.TRUE.equals(message.resend)) &&
|
||||
(message.dsn == null || EntityMessage.DSN_NONE.equals(message.dsn))) {
|
||||
// Add reply to
|
||||
if (identity.replyto != null)
|
||||
imessage.setReplyTo(convertAddress(InternetAddress.parse(identity.replyto), identity));
|
||||
|
|
Loading…
Reference in New Issue