Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-31

ezcMailPartParser should have an option to treat DeliveryStatus as Text

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Mail
    • None

    Description

      It is not possible to get the raw content of the DeliveryStatus part. The easiest solution would be to treat that part as an ezcMailText or ezcMailFile instead of an ezcMailDeliveryStatus. There is no need to parse headers and body into the message and recipient arrays etc.

      There already is an option to treat text parts as files: $parseTextAttachmentsAsFiles
      I need something like: $parseDeliveryStatusAttachmentsAsText

      Perhaps it makes sense to make every part flexible, so you can treat text parts as files, delivery status as text and rfc822 as files for example. For webmailers for example you want only the text/plain and text/html as text, all other parts should be files so the user can download them easily. There is no need to parse them into complex objects like ezcMailRfc822Digest or ezcMailDeliveryStatus.

      Attachments

        1. patch.diff
          1 kB
          Michael Kliewe

        Activity

          People

            Unassigned Unassigned
            phpgangsta Michael Kliewe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: