I have an issue while reading a non multipart message.

if I am using  mail_fetchbody(vImapStream, 1, "", &len) the result is as
follows

-------------------START---------------------------------
Delivered-To: [EMAIL PROTECTED]
Received: by 10.150.91.13 with SMTP id o13cs94462ybb; Thu, 30 Oct 2008CRLF
22:13:55 -0700 (PDT)CRLF
Received: by 10.90.83.2 with SMTP id g2mr9643944agb.72.1225430033338; Thu,
30CRLF
Oct 2008 22:13:53 -0700 (PDT)CRLF
Received: by 10.90.113.7 with HTTP; Thu, 30 Oct 2008 22:13:53 -0700 (PDT)
CRLF
Message-ID: <[EMAIL PROTECTED]>CRLF
Date: Fri, 31 Oct 2008 10:43:53 +0530CRLF
From: "Manoj M" <[EMAIL PROTECTED]>CRLF
To: [EMAIL PROTECTED]
Subject: testCRLF
MIME-Version: 1.0CRLF
Content-Type: text/plain; charset=ISO-8859-1CRLF
Content-Transfer-Encoding: 7bitCRLF
Content-Disposition: inlineCRLF
CRLF
Regards,CRLF
Manoj MarathayilCRLF
---------------------END---------------------


and if I am using mail_fetchtext(vImapStream, 1), the result is as follows


-------------------START---------------------------------
Delivered-To: [EMAIL PROTECTED]
Received: by 10.150.91.13 with SMTP id o13cs94462ybb;CRLF
      Thu, 30 Oct 2008 22:13:55 -0700 (PDT)CRLF
Received: by 10.90.83.2 with SMTP id g2mr9643944agb.72.1225430033338;CRLF
      Thu, 30 Oct 2008 22:13:53 -0700 (PDT)CRLF
Received: by 10.90.113.7 with HTTP; Thu, 30 Oct 2008 22:13:53 -0700 (PDT)
CRLF
Message-ID: <[EMAIL PROTECTED]>CRLF
Date: Fri, 31 Oct 2008 10:43:53 +0530CRLF
From: "Manoj M" <[EMAIL PROTECTED]>CRLF
To: [EMAIL PROTECTED]
Subject: testCRLF
MIME-Version: 1.0CRLF
Content-Type: text/plain; charset=ISO-8859-1CRLF
Content-Transfer-Encoding: 7bitCRLF
Content-Disposition: inlineCRLF
CRLF
Regards,CRLF
Manoj MarathayilCRLF
CRLF
---------------------END---------------------

Is this also a problem with wrong IMAP server implementaion? or is there any
std way to request?
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to