* interaction (mailto) query
@ 2014-07-16 11:27 Alan Bowen
2014-07-16 12:00 ` Peter Rolf
0 siblings, 1 reply; 6+ messages in thread
From: Alan Bowen @ 2014-07-16 11:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 346 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1094 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interaction (mailto) query
2014-07-16 11:27 interaction (mailto) query Alan Bowen
@ 2014-07-16 12:00 ` Peter Rolf
2014-07-16 12:28 ` Peter Münster
0 siblings, 1 reply; 6+ messages in thread
From: Peter Rolf @ 2014-07-16 12:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interaction (mailto) query
2014-07-16 12:00 ` Peter Rolf
@ 2014-07-16 12:28 ` Peter Münster
2014-07-16 14:55 ` Alan Bowen
0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2014-07-16 12:28 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interaction (mailto) query
2014-07-16 12:28 ` Peter Münster
@ 2014-07-16 14:55 ` Alan Bowen
2014-07-16 15:13 ` Werner Hintze
0 siblings, 1 reply; 6+ messages in thread
From: Alan Bowen @ 2014-07-16 14:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1248 bytes --]
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 <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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2447 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interaction (mailto) query
2014-07-16 14:55 ` Alan Bowen
@ 2014-07-16 15:13 ` Werner Hintze
2014-07-16 15:32 ` Alan Bowen
0 siblings, 1 reply; 6+ messages in thread
From: Werner Hintze @ 2014-07-16 15:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1935 bytes --]
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 <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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2680 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interaction (mailto) query
2014-07-16 15:13 ` Werner Hintze
@ 2014-07-16 15:32 ` Alan Bowen
0 siblings, 0 replies; 6+ messages in thread
From: Alan Bowen @ 2014-07-16 15:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2287 bytes --]
Thanks, Werner. That works perfectly.
On Wed, Jul 16, 2014 at 11:13 AM, Werner Hintze <w.hintze@posteo.eu> wrote:
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 4554 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-16 15:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 11:27 interaction (mailto) query Alan Bowen
2014-07-16 12:00 ` Peter Rolf
2014-07-16 12:28 ` Peter Münster
2014-07-16 14:55 ` Alan Bowen
2014-07-16 15:13 ` Werner Hintze
2014-07-16 15:32 ` Alan Bowen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).