
Originally Posted by
=?Utf-8?B?TWFyeQ==?=
Hi,
I use MailMessage & SmtpClient to send email to exchange server. Then, I use
webdav to retrieve the email content and save it in a file.
First I send a text/plain email, then save the message in file. If it runs
in Exchange 2003, the saved content is the following:
**********************
MIME-Version: 1.0
From: xxxx
To: xxxx
Date: xxxx
Subject: 0: sub
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Return-Path: xxxx
Message-ID: xxxx
X-OriginalArrivalTime: xxxx
0: test
***********************
But if I run it in Exchange 2007, the saved content is:
************************
Subject: 0: sub
Date: xxxxx
MIME-Version: 1.0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Message-ID: xxxx
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: 0: sub
Thread-Index: xxxx
From: xxxx
X-MimeOLE: Produced By Microsoft Exchange V8.1
To: "Mary" xxxx
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
08.01.0240.003">
<TITLE>0: sub</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>0: test<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>
*******************************
In exchange 2007, it changes the content format of saved file. Is it
possible not allow Exchange 2007 to convert the content to html file but keep
in text/plain file?
Thanks,
Mary
Bookmarks