Sign In  Sign Up Live-Chat

MIME with 2 attachments named the same causes infinite loop in Aspose.Network.Mail.MailMessage.Load

Last post 07-30-2008, 12:47 PM by Jeremyfelix. 3 replies.
Sort Posts: Previous Next
  •  07-29-2008, 8:33 PM 137445

    MIME with 2 attachments named the same causes infinite loop in Aspose.Network.Mail.MailMessage.Load

    Hi,

    I'm seeing a new problem in Aspose.Network version 3.9.1.0 (this problem was not present in 3.9.0.0) where if a MIME stream contains two attachments with the same name, Aspose.Network.Mail.MailMessage.Load() never returns (looks like an infinite loop, as the CPU stays pegged).

    The following block will cause the problem:

    MIME-Version: 1.0
    Content-Type: multipart/mixed;
        boundary="----_=_NextPart_001_01C86CCE.3AF4C8C4"
    Subject: FW:
    Date: Mon, 11 Feb 2008 16:50:38 -0000
    From: "M" <M@h.com>
    To: "G" <g@w.com>

    This is a multi-part message in MIME format.

    ------_=_NextPart_001_01C86CCE.3AF4C8C4
    Content-Type: application/octet-stream; name="Document.pdf"
    Content-Transfer-Encoding: base64
    Content-Description: Document.pdf
    Content-Disposition: attachment; filename="Document.pdf"

    ------_=_NextPart_001_01C86CCE.3AF4C8C4
    Content-Type: application/octet-stream; name="Document.pdf"
    Content-Transfer-Encoding: base64
    Content-Description: Document.pdf
    Content-Disposition: attachment; filename="Document.pdf"

    ------_=_NextPart_001_01C86CCE.3AF4C8C4--


    Thanks,
    Jeremy
     
  •  07-30-2008, 12:21 AM 137452 in reply to 137445

    Re: MIME with 2 attachments named the same causes infinite loop in Aspose.Network.Mail.MailMessage.Load

    Hello, Jeremy,

    We are now working on this issue. I will keep you posted.

    Thanks very much.


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  07-30-2008, 9:31 AM 137536 in reply to 137452

    Re: MIME with 2 attachments named the same causes infinite loop in Aspose.Network.Mail.MailMessage.Load

    Attachment: Present (inaccessible)

    Hello,

    Please check the attached dll. Let me know if it works.

    Thanks again.


    Team Lead
    Aspose Guangzhou Team
    About Us

    Contact Us
     
  •  07-30-2008, 12:47 PM 137576 in reply to 137536

    Re: MIME with 2 attachments named the same causes infinite loop in Aspose.Network.Mail.MailMessage.Load

    Thanks for the quick turnaround! This fixes the issue.

    Thanks,
    Jeremy
     
View as RSS news feed in XML