mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Support catch all addresses
This commit is contained in:
@@ -207,7 +207,7 @@ public class MessageHelper {
|
||||
String name = ((InternetAddress) message.from[0]).getPersonal();
|
||||
if (email != null && !TextUtils.isEmpty(message.extra)) {
|
||||
int at = email.indexOf('@');
|
||||
email = email.substring(0, at) + message.extra + email.substring(at);
|
||||
email = message.extra + email.substring(at);
|
||||
Log.i("extra=" + email);
|
||||
}
|
||||
imessage.setFrom(new InternetAddress(email, name));
|
||||
|
||||
Reference in New Issue
Block a user