mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Don't append "null" to the "MAIL FROM" line in case the server doesn't support 8BITMIME
This commit is contained in:
parent
a7c9804995
commit
aaa0de4dbc
@ -493,7 +493,7 @@ public class SmtpTransport extends Transport {
|
||||
Address[] from = message.getFrom();
|
||||
try {
|
||||
executeSimpleCommand("MAIL FROM:" + "<" + from[0].getAddress() + ">"
|
||||
+ (m8bitEncodingAllowed ? " BODY=8BITMIME" : null));
|
||||
+ (m8bitEncodingAllowed ? " BODY=8BITMIME" : ""));
|
||||
for (String address : addresses) {
|
||||
executeSimpleCommand("RCPT TO:" + "<" + address + ">");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user