mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
parent
f5e608836c
commit
7eb5dd9e62
1 changed files with 1 additions and 6 deletions
|
@ -1200,12 +1200,7 @@ public class MessageHelper {
|
|||
}
|
||||
|
||||
Address[] getSender() throws MessagingException {
|
||||
Address[] sender = getAddressHeader("Sender");
|
||||
if (BuildConfig.DEBUG) {
|
||||
if (sender == null || sender.length == 0)
|
||||
sender = getAddressHeader("Return-Path");
|
||||
}
|
||||
return sender;
|
||||
return getAddressHeader("Sender");
|
||||
}
|
||||
|
||||
Address[] getFrom() throws MessagingException {
|
||||
|
|
Loading…
Reference in a new issue