mirror of https://github.com/M66B/FairEmail.git
smtp.mailfrom with quotes
This commit is contained in:
parent
50d8bbc59d
commit
fec54f1656
|
@ -1520,6 +1520,9 @@ public class MessageHelper {
|
|||
if (s > 0)
|
||||
v = v.substring(0, s);
|
||||
|
||||
if (v.startsWith("\"") && v.endsWith("\""))
|
||||
v = v.substring(1, v.length() - 1);
|
||||
|
||||
try {
|
||||
mailfrom = InternetAddress.parseHeader(v, false);
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in New Issue