Added Return-Path to messsage classier

pull/194/merge
M66B 3 years ago
parent e82def4a4a
commit 4dbdf62a97

@ -156,6 +156,8 @@ public class MessageClassifier {
addresses.addAll(Arrays.asList(message.bcc)); addresses.addAll(Arrays.asList(message.bcc));
if (message.reply != null) if (message.reply != null)
addresses.addAll(Arrays.asList(message.reply)); addresses.addAll(Arrays.asList(message.reply));
if (message.return_path != null)
addresses.addAll(Arrays.asList(message.return_path));
for (Address address : addresses) { for (Address address : addresses) {
String email = ((InternetAddress) address).getAddress(); String email = ((InternetAddress) address).getAddress();

Loading…
Cancel
Save