To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:xxx@yyy.org] [] [{xxx}] \setupinteraction[state=start,color=blue] \starttext send email to \from[xxx] \stoptext This sets the address to which the message is to be sent. Is there a way to set the subject of this message as well? Alan
Hi Alan, 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 mailto:xxx@yyy.org]
[mailto:xxx@yyy.org?subject=foo] There are also '&body=' for the mail text and '&cc=' / '&bcc='. All worked well in a quick test. Best wishes, Peter
[] [{xxx}]
\setupinteraction[state=start,color=blue]
\starttext
send email to \from[xxx]
\stoptext
This sets the address to which the message is to be sent. Is there a way to set the subject of this message as well?
Alan
___________________________________________________________________________________ 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 ___________________________________________________________________________________
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 mailto: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
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
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 mailto: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
___________________________________________________________________________________
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
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 mailto: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 ___________________________________________________________________________________
Thanks, Werner. That works perfectly.
On Wed, Jul 16, 2014 at 11:13 AM, Werner Hintze
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 ------------------------------
___________________________________________________________________________________ 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
___________________________________________________________________________________
participants (4)
-
Alan Bowen
-
Peter Münster
-
Peter Rolf
-
Werner Hintze