6.0.0-beta1
7/17/25

[#8092] Use CATENATE extension to strip MIME parts
Summary Use CATENATE extension to strip MIME parts
Queue IMP
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 03/17/2009 (5966 days ago)
Due
Updated 07/05/2010 (5491 days ago)
Assigned
Resolved 04/26/2010 (5561 days ago)
Milestone 5
Patch No

History
04/26/2010 07:37:13 AM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
Milestone ⇒ 5
 
04/30/2009 04:28:02 PM Jan Schneider State ⇒ Accepted
 
03/17/2009 12:24:47 PM Michael Slusarz Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Use CATENATE extension to strip MIME parts
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ New
Reply to this comment
If CATENATE IMAP extension is available, use it to strip MIME parts.   
From Appendix A of RFC 4469:



    Example 3: The following example demonstrates how the CATENATE

    extension can be used to strip attachments.  Below, a PowerPoint

    attachment was replaced by a small text part explaining that the

    attachment was stripped.



    C: A003 APPEND Drafts (\Seen \Draft $MDNSent) CATENATE

     (URL "/Drafts;UIDVALIDITY=385759045/;UID=21/;section=HEADER"

     TEXT {42}

    S: + Ready for literal data

    C:

    C: --------------030308070208000400050903

    C:  URL "/Drafts;UIDVALIDITY=385759045/;UID=21/;section=1.MIME"

     URL "/Drafts;UIDVALIDITY=385759045/;UID=21/;section=1" TEXT {255}

    S: + Ready for literal data

    C:

    C: --------------030308070208000400050903

    C: Content-type: text/plain; charset="us-ascii"

    C: Content-transfer-encoding: 7bit

    C:

    C: This body part contained a Power Point presentation that was

    C: deleted upon your request.

    C: --------------030308070208000400050903--

    C: )

    S: A003 OK append Completed

Saved Queries