From 5ea415bf49acffa4627e0d2d79bf1250cc2db18b Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 28 Jul 2010 21:10:16 +0000 Subject: [PATCH] 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 --- src/java/davmail/exchange/ExchangeSession.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index 228a180a..d3f02b44 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -957,9 +957,6 @@ public abstract class ExchangeSession { if (!messages.isEmpty()) { LOGGER.debug("Dropping message id " + mimeMessage.getMessageID() + ": already sent"); } else { - // Exchange 2007 : skip From: header - mimeMessage.removeHeader("from"); - // remove visible recipients from list Set visibleRecipients = new HashSet(); Address[] recipients = mimeMessage.getAllRecipients();