mirror of https://github.com/M66B/FairEmail.git
Show return path
This commit is contained in:
parent
9f5e8915eb
commit
5d6b71dff6
|
@ -1200,7 +1200,12 @@ public class MessageHelper {
|
|||
}
|
||||
|
||||
Address[] getSender() throws MessagingException {
|
||||
return getAddressHeader("Sender");
|
||||
Address[] sender = getAddressHeader("Sender");
|
||||
if (BuildConfig.DEBUG) {
|
||||
if (sender == null || sender.length == 0)
|
||||
sender = getAddressHeader("Return-Path");
|
||||
}
|
||||
return sender;
|
||||
}
|
||||
|
||||
Address[] getFrom() throws MessagingException {
|
||||
|
|
Loading…
Reference in New Issue