Results 1 to 2 of 2

Thread: Message format when retrieve email using webdav in Exchange 2007.

  1. #1
    =?Utf-8?B?TWFyeQ==?= Guest

    Default Message format when retrieve email using webdav in Exchange 2007.

    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

  2. #2

    Default Re: Message format when retrieve email using webdav in Exchange 2007.

    Hi Mary, I am experiencing a similar issue with email formatting once we upgraded from Exchange 2003 to 2007. Did you ever resolve your issue? If so, could you let me know how you did it? Thanks in advance.

    Eric


    Quote Originally Posted by =?Utf-8?B?TWFyeQ==?= View Post
    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

Similar Threads

  1. Need to get message size using WebDAV
    By macca in forum Exchange Development Archives
    Replies: 3
    Last Post: 10-06-2009, 03:34 AM
  2. Retrieve Out Of Office (OOF) AutoReply message by HTTP (Exchange 2
    By Panu in forum Exchange Connectivity Archive
    Replies: 3
    Last Post: 07-03-2009, 05:38 AM
  3. Exchange 2007 Web Services Retrieve Email Body without HTML Tags
    By Shawn in forum Exchange Development Archives
    Replies: 1
    Last Post: 04-24-2009, 11:22 AM
  4. Exchange 2007 Web Services Retrieve Email Body without HTML Tags
    By Shawn in forum Exchange Administration Archive
    Replies: 4
    Last Post: 04-24-2009, 11:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts