W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2011

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

From: David Lee <dlee@calldei.com>
Date: Wed, 16 Nov 2011 06:47:42 -0500
To: "'Geert Josten'" <geert.josten@dayon.nl>, "'Florent Georges'" <fgeorges@fgeorges.org>
Cc: "'Norman Walsh'" <ndw@nwalsh.com>, "'XProc Dev'" <xproc-dev@w3.org>
Message-ID: <007f01cca455$8d8f5ca0$a8ae15e0$@calldei.com>
There's also the issue of what protocol and/or server/port to use ...
I suspect were all assuming SMTP ... but there is MAPI and various other
protocols.  Or perhaps even a specific email *client* (ug) ... like what
happens in a browser when you click on a mailto link ...  How/where to
configure these ? 
I do agree this would be a great feature (and its getting me thinking I
should implement it in xmsh ...)  but it is indeed non-trivial for both the
spec *and* the implementation.
 

----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org

-----Original Message-----
From: Geert Josten [mailto:geert.josten@dayon.nl] 
Sent: Wednesday, November 16, 2011 6:27 AM
To: Florent Georges
Cc: Norman Walsh; XProc Dev
Subject: RE: Sending e-mails from a pipeline...


Let me try to recap and rephrase, in attempt to make my point clearer..

I'd say ideally you would want a step to send mail, something like
xx:send-mail. MIME encoding, packaging, adding attachments properly, and
sending it over the wire in such a way that it is understood by the
receiver, and all that could very well be complicated I agree. But should
the one writing the xx:send-mail, or the one using it indirectly in some
way, care about the technical fuss?

Not sure I understood Norm correctly, it sounded a bit like using
p:http-request to send the message. But that would indeed imply that the
developer would have to dig deep into MIME to make it work, while I think
there are plenty libraries available out there, that could do the hard
work for you.. ;-)

Stop glueing, start coding.. ;-)

Grtz

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

On 16 November 2011 11:47, Geert Josten wrote:

> 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..

  Well, you send an email only for someone to receive it, don't
you? ;-)  And you want him/her to get all the infos he/she needs
to read that email.  The MIME type is one of those.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Wednesday, 16 November 2011 11:48:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 November 2011 11:48:18 GMT