You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Michael Kliewe (JIRA)" <ji...@apache.org> on 2010/12/02 16:37:10 UTC

[jira] Created: (ZETACOMP-31) ezcMailPartParser should have an option to treat DeliveryStatus as Text

ezcMailPartParser should have an option to treat DeliveryStatus as Text
-----------------------------------------------------------------------

                 Key: ZETACOMP-31
                 URL: https://issues.apache.org/jira/browse/ZETACOMP-31
             Project: Zeta Components
          Issue Type: Improvement
          Components: Mail
            Reporter: Michael Kliewe


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZETACOMP-31) ezcMailPartParser should have an option to treat DeliveryStatus as Text

Posted by "Michael Kliewe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZETACOMP-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Kliewe updated ZETACOMP-31:
-----------------------------------

    Attachment: patch.diff

An easy patch to introduce $parseDeliveryStatusAttachmentsAsText

> ezcMailPartParser should have an option to treat DeliveryStatus as Text
> -----------------------------------------------------------------------
>
>                 Key: ZETACOMP-31
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-31
>             Project: Zeta Components
>          Issue Type: Improvement
>          Components: Mail
>            Reporter: Michael Kliewe
>         Attachments: patch.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.