mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
Should not use double-quoted empty string.
Some host may reject such the From address.
This commit is contained in:
parent
d1d7b5fb70
commit
68381d4725
@ -189,7 +189,7 @@ public class Address {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String toEncodedString() {
|
public String toEncodedString() {
|
||||||
if (mPersonal != null) {
|
if (mPersonal != null && !mPersonal.equals("")) {
|
||||||
return EncoderUtil.encodeAddressDisplayName(mPersonal) + " <" + mAddress + ">";
|
return EncoderUtil.encodeAddressDisplayName(mPersonal) + " <" + mAddress + ">";
|
||||||
} else {
|
} else {
|
||||||
return mAddress;
|
return mAddress;
|
||||||
|
Loading…
Reference in New Issue
Block a user