|
|
@ -151,8 +151,8 @@ public class SnEmailGatherTask { |
|
|
|
gatherLogVo.setSubject(EmailParseUtils.getSubject(msg)); |
|
|
|
gatherLogVo.setSubject(EmailParseUtils.getSubject(msg)); |
|
|
|
// String address = EmailParseUtils.getReceiveAddress(msg, null);
|
|
|
|
// String address = EmailParseUtils.getReceiveAddress(msg, null);
|
|
|
|
String from = getFrom(msg); |
|
|
|
String from = getFrom(msg); |
|
|
|
gatherLogVo.setFromAddress(from); |
|
|
|
gatherLogVo.setFromAddress(emailName); |
|
|
|
gatherLogVo.setReceiveAddress(emailName); |
|
|
|
gatherLogVo.setReceiveAddress(from); |
|
|
|
String sentDate = EmailParseUtils.getSentDate(msg, null); |
|
|
|
String sentDate = EmailParseUtils.getSentDate(msg, null); |
|
|
|
gatherLogVo.setSentDate(sentDate); |
|
|
|
gatherLogVo.setSentDate(sentDate); |
|
|
|
gatherLogVo.setCreateTime(new Date()); |
|
|
|
gatherLogVo.setCreateTime(new Date()); |
|
|
|