Ticket #425 (new enhancement)

Opened 15 years ago

Last modified 14 years ago

the mime type in outgoing messages rendered from proxies is hardcoded to text/html.

Reported by: jmorliaguet Owned by: janguenot
Priority: P2 Milestone: unspecified
Component: CPSSubscriptions Version: unspecified
Severity: normal Keywords: Notification
Cc:

Description (last modified by janguenot) (diff)

There should be an option in CPSSubscriptions to select the mime type of outgoing messages rendered through CPSDocuments (e.g. text/plain, text/html, text/xml, multipart/mixed, etc... ).

use cases are:

  • some users only read text/plain messages (text-based mail readers)
  • for security reasons: it is possible to embed malicious javascript code /

activeX in text/html documents.

  • some systems need to process messages and work best with text/xml (automatic

registration, etc..)

  • use multipart/mixed for attachments

possible implementation ideas:

  • Associate a mime type to document layouts so that CPSSubcriptions can choose

between different layouts depending on the preferred mime type (useful for XML layouts).

  • run a portal transform on the document to generate a message in the preferred

mime type and send the message in the right format.

...

Change History

comment:1 Changed 14 years ago by janguenot

  • Milestone set to CPS 3.4.0

comment:2 Changed 14 years ago by lregebro

  • Severity changed from normal to enhancement

comment:3 Changed 14 years ago by janguenot

  • Description modified (diff)
  • Milestone changed from CPS 3.4.0 to unspecified

This is an enhancement that will be threaded later on.

Note: See TracTickets for help on using tickets.