Just put \%20 for for a space: »A\%20subject\%20with\%20spaces«

On 16 Jul 2014, at 16:55, Alan Bowen wrote:

Many thanks, Peter. This works well but only if I do not have spaces in the
fields for “&body=” etc. How did you get around this limitation? (I am
running ConTeXt ver: 2014.07.11 12:20 MKIV beta.)

All best, Alan

On Wed, Jul 16, 2014 at 8:28 AM, Peter Münster pmlists@free.fr wrote:

On Wed, Jul 16 2014, Peter Rolf wrote:

Am 16.07.2014 13:27, schrieb Alan Bowen:

To open a new email message in the user’s email client, I have
\useURL
[xxx]
[mailto:xxx@yyy.org xxx@yyy.org]

[mailto:xxx@yyy.org?subject=foo]

And if you need a newline in the body:

[mailto:xxx@yyy.org?subject=my subject&body=Hi Peter,\%0ABye]

--
Peter


If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net



If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net