1
0
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:
Koji Arai 2011-02-17 00:32:21 +09:00
parent d1d7b5fb70
commit 68381d4725

View File

@ -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;