mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
SMTP: fix 3132569, always remove From header to avoid 403 error on send
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1588 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
173bac593b
commit
8273e30bbc
@ -1154,10 +1154,7 @@ public abstract class ExchangeSession {
|
||||
convertResentHeader(mimeMessage, "Bcc");
|
||||
convertResentHeader(mimeMessage, "Message-Id");
|
||||
|
||||
// fix From header for Exchange 2007
|
||||
if (!"Exchange2003".equals(serverVersion)) {
|
||||
mimeMessage.removeHeader("From");
|
||||
}
|
||||
|
||||
// remove visible recipients from list
|
||||
Set<String> visibleRecipients = new HashSet<String>();
|
||||
|
Loading…
Reference in New Issue
Block a user