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

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

From: Geert Josten <geert.josten@dayon.nl>
Date: Wed, 16 Nov 2011 12:59:31 +0100
Message-ID: <0a5e9643893ca84aca349548b967eb15@mail.gmail.com>
To: David Lee <dlee@calldei.com>, Florent Georges <fgeorges@fgeorges.org>
Cc: Norman Walsh <ndw@nwalsh.com>, XProc Dev <xproc-dev@w3.org>
The 'mailto' link sounds unrelated to me, is more of a browser thing IMHO.

SMTP versus MAPI and others: from the perspective of implementation, yes
difficult. But I don't think anyone would want to implement those from
scratch anyway. ;-)

Also, SMTP and MAPI are already spec'ed I'd expect, so you can reference
those. And from the developer/user point of view: they would just need to
specify a method, right? I don't see reason why they should pass message
details differently because of this.


-----Oorspronkelijk bericht-----
Van: David Lee [mailto:dlee@calldei.com]
Verzonden: woensdag 16 november 2011 12:48
Aan: 'Geert Josten'; 'Florent Georges'
CC: 'Norman Walsh'; 'XProc Dev'
Onderwerp: RE: Sending e-mails from a pipeline...

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
spec *and* the implementation.

David A. Lee

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


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


Florent Georges
Received on Wednesday, 16 November 2011 12:00:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:01 UTC