mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -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() {
|
||||
if (mPersonal != null) {
|
||||
if (mPersonal != null && !mPersonal.equals("")) {
|
||||
return EncoderUtil.encodeAddressDisplayName(mPersonal) + " <" + mAddress + ">";
|
||||
} else {
|
||||
return mAddress;
|
||||
|
Loading…
Reference in New Issue
Block a user