SMTP: experimental: remove Content-Type on create message to avoid 406 not acceptable with some Exchange servers.

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@752 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-09-24 22:36:10 +00:00
parent c4f708d23d
commit 79ba72e092
1 changed files with 0 additions and 1 deletions

View File

@ -613,7 +613,6 @@ public class ExchangeSession {
PutMethod putmethod = new PutMethod(messageUrl);
putmethod.setRequestHeader("Translate", "f");
putmethod.setRequestHeader("Content-Type", "message/rfc822");
try {
// use same encoding as client socket reader
putmethod.setRequestEntity(new ByteArrayRequestEntity(messageBody.getBytes()));