mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
SMTP: no need to remove From header with new sendMessage implementation
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1313 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
35d7596b09
commit
5ea415bf49
@ -957,9 +957,6 @@ public abstract class ExchangeSession {
|
|||||||
if (!messages.isEmpty()) {
|
if (!messages.isEmpty()) {
|
||||||
LOGGER.debug("Dropping message id " + mimeMessage.getMessageID() + ": already sent");
|
LOGGER.debug("Dropping message id " + mimeMessage.getMessageID() + ": already sent");
|
||||||
} else {
|
} else {
|
||||||
// Exchange 2007 : skip From: header
|
|
||||||
mimeMessage.removeHeader("from");
|
|
||||||
|
|
||||||
// remove visible recipients from list
|
// remove visible recipients from list
|
||||||
Set<String> visibleRecipients = new HashSet<String>();
|
Set<String> visibleRecipients = new HashSet<String>();
|
||||||
Address[] recipients = mimeMessage.getAllRecipients();
|
Address[] recipients = mimeMessage.getAllRecipients();
|
||||||
|
Loading…
Reference in New Issue
Block a user