1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02: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:
mguessan 2010-07-28 21:10:16 +00:00
parent 35d7596b09
commit 5ea415bf49

View File

@ -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<String> visibleRecipients = new HashSet<String>();
Address[] recipients = mimeMessage.getAllRecipients();