mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 11:25:13 +01:00
smtp.mailfrom with quotes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user