RE: Sending e-mails from a pipeline...

So the type is unpredictable, fair enough. A developer should be allowed
to specify any type, and similarly a 'user' should be allowed to attach
any kind of file.

But in terms of transmitting (sending) the message over the wire, does it
really matter? Maybe I oversimplify things in my mind, but thinking of
multipart http requests, those are quite easy to generate. Note, I am only
talking about sending, not about receiving..

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: fgeorges@gmail.com [mailto:fgeorges@gmail.com] Namens Florent Georges
Verzonden: woensdag 16 november 2011 11:12
Aan: Geert Josten
CC: Norman Walsh; XProc Dev
Onderwerp: Re: Sending e-mails from a pipeline...

On 15 November 2011 22:57, Geert Josten wrote:

  Hi,

> Is MIME something a user needs to care about? (i.e. isn't that
> something that can be shielded from the user?)

  I this low-level, general-purpose feature in the language
should allow the developer (in this context, "developer" is
probably more appropriate than "user") to set all possibilities
based on his/her specific app requirements.  What's the MIME type
of the content of a c:data?  Can be anything, really.

  Of course, one could build a step on top of this one to set the
MIME type accordingly to a filename extension, or any other rule.
But IMHO that is more dedicated than a general-purpose step.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

Received on Wednesday, 16 November 2011 10:48:19 UTC