Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80583 > unrolled thread

Re: html page mail link to webmail program

Started byEthan Furman <ethan@stoneleaf.us>
First post2014-11-11 17:35 -0800
Last post2014-11-12 07:34 -0500
Articles 4 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: html page mail link to webmail program Ethan Furman <ethan@stoneleaf.us> - 2014-11-11 17:35 -0800
    Re: html page mail link to webmail program alister <alister.nospam.ware@ntlworld.com> - 2014-11-12 08:56 +0000
      Re: html page mail link to webmail program alister <alister.nospam.ware@ntlworld.com> - 2014-11-12 08:58 +0000
        Re: html page mail link to webmail program Joel Goldstick <joel.goldstick@gmail.com> - 2014-11-12 07:34 -0500

#80583 — Re: html page mail link to webmail program

FromEthan Furman <ethan@stoneleaf.us>
Date2014-11-11 17:35 -0800
SubjectRe: html page mail link to webmail program
Message-ID<mailman.15706.1415756116.18130.python-list@python.org>
On 11/11/2014 05:08 PM, Ben Finney wrote:
> Ethan Furman <ethan@stoneleaf.us> writes:
>
>> My wife (using a Win7 machine) will be on a web page that has a link
>> to mail somebody.  She clicks on it, and it opens the currently
>> installed but unused Thunderbird.
>>
>> Ideally, what would happen is a new window/tab would open to gmail
>> with a new compose window with the email address in place and the
>> cursor in the subject line.
>
> What is the Python question? I can't see anywhere that you would be
> using Python code to address this.

Really?  Huh.

Okay, the explicit Python question:  Clicking on a mail link in a web browser can start an external program.  I would 
like that external program to be a Python script that: opens a new tab in the currently running browser (or a new 
default browser window), loads up the default web mail client (or one specified if there is no way to know/have a 
default), navigates to the compose pane (or starts there if possible), enters in the email address from the link that 
was passed to it, and, if not too much more, move the cursor to the subject field.

Surely this can be done in Python.

--
~Ethan~

[toc] | [next] | [standalone]


#80595

Fromalister <alister.nospam.ware@ntlworld.com>
Date2014-11-12 08:56 +0000
Message-ID<HgF8w.618085$XH2.201952@fx23.am4>
In reply to#80583
On Tue, 11 Nov 2014 17:35:11 -0800, Ethan Furman wrote:

> On 11/11/2014 05:08 PM, Ben Finney wrote:
>> Ethan Furman <ethan@stoneleaf.us> writes:
>>
>>> My wife (using a Win7 machine) will be on a web page that has a link
>>> to mail somebody.  She clicks on it, and it opens the currently
>>> installed but unused Thunderbird.
>>>
>>> Ideally, what would happen is a new window/tab would open to gmail
>>> with a new compose window with the email address in place and the
>>> cursor in the subject line.
>>
>> What is the Python question? I can't see anywhere that you would be
>> using Python code to address this.
> 
> Really?  Huh.
> 
> Okay, the explicit Python question:  Clicking on a mail link in a web
> browser can start an external program.  I would like that external
> program to be a Python script that: opens a new tab in the currently
> running browser (or a new default browser window), loads up the default
> web mail client (or one specified if there is no way to know/have a
> default), navigates to the compose pane (or starts there if possible),
> enters in the email address from the link that was passed to it, and, if
> not too much more, move the cursor to the subject field.
> 
> Surely this can be done in Python.

any chance you could fix your broken news reader?



-- 
Life is to you a dashing and bold adventure.

[toc] | [prev] | [next] | [standalone]


#80596

Fromalister <alister.nospam.ware@ntlworld.com>
Date2014-11-12 08:58 +0000
Message-ID<3jF8w.618086$XH2.407153@fx23.am4>
In reply to#80595
On Wed, 12 Nov 2014 08:56:07 +0000, alister wrote:

> On Tue, 11 Nov 2014 17:35:11 -0800, Ethan Furman wrote:
> 
>> On 11/11/2014 05:08 PM, Ben Finney wrote:
>>> Ethan Furman <ethan@stoneleaf.us> writes:
>>>
>>>> My wife (using a Win7 machine) will be on a web page that has a link
>>>> to mail somebody.  She clicks on it, and it opens the currently
>>>> installed but unused Thunderbird.
>>>>
>>>> Ideally, what would happen is a new window/tab would open to gmail
>>>> with a new compose window with the email address in place and the
>>>> cursor in the subject line.
>>>
>>> What is the Python question? I can't see anywhere that you would be
>>> using Python code to address this.
>> 
>> Really?  Huh.
>> 
>> Okay, the explicit Python question:  Clicking on a mail link in a web
>> browser can start an external program.  I would like that external
>> program to be a Python script that: opens a new tab in the currently
>> running browser (or a new default browser window), loads up the default
>> web mail client (or one specified if there is no way to know/have a
>> default), navigates to the compose pane (or starts there if possible),
>> enters in the email address from the link that was passed to it, and,
>> if not too much more, move the cursor to the subject field.
>> 
>> Surely this can be done in Python.
> 
> any chance you could fix your broken news reader?

Apologies, all posts seem broken today. I am not sure of the cause yet



-- 
Boren's Laws:
	(1) When in charge, ponder.
	(2) When in trouble, delegate.
	(3) When in doubt, mumble.

[toc] | [prev] | [next] | [standalone]


#80601

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2014-11-12 07:34 -0500
Message-ID<mailman.15720.1415795667.18130.python-list@python.org>
In reply to#80596
On Wed, Nov 12, 2014 at 3:58 AM, alister
<alister.nospam.ware@ntlworld.com> wrote:
> On Wed, 12 Nov 2014 08:56:07 +0000, alister wrote:
>
>> On Tue, 11 Nov 2014 17:35:11 -0800, Ethan Furman wrote:
>>
>>> On 11/11/2014 05:08 PM, Ben Finney wrote:
>>>> Ethan Furman <ethan@stoneleaf.us> writes:
>>>>
>>>>> My wife (using a Win7 machine) will be on a web page that has a link
>>>>> to mail somebody.  She clicks on it, and it opens the currently
>>>>> installed but unused Thunderbird.
>>>>>
>>>>> Ideally, what would happen is a new window/tab would open to gmail
>>>>> with a new compose window with the email address in place and the
>>>>> cursor in the subject line.

There are plugins on chrome to make gmail the mail client.  Firefox I
think has a setting to do the same.  You should look into the
browser/OS settings before rolling your own, since using python means
setting up a web site.. all this to pick the default mail client?
>>>>
>>>> What is the Python question? I can't see anywhere that you would be
>>>> using Python code to address this.
>>>
>>> Really?  Huh.
>>>
>>> Okay, the explicit Python question:  Clicking on a mail link in a web
>>> browser can start an external program.  I would like that external
>>> program to be a Python script that: opens a new tab in the currently
>>> running browser (or a new default browser window), loads up the default
>>> web mail client (or one specified if there is no way to know/have a
>>> default), navigates to the compose pane (or starts there if possible),
>>> enters in the email address from the link that was passed to it, and,
>>> if not too much more, move the cursor to the subject field.
>>>
>>> Surely this can be done in Python.
>>
>> any chance you could fix your broken news reader?
>
> Apologies, all posts seem broken today. I am not sure of the cause yet
>
>
>
> --
> Boren's Laws:
>         (1) When in charge, ponder.
>         (2) When in trouble, delegate.
>         (3) When in doubt, mumble.
> --
> https://mail.python.org/mailman/listinfo/python-list



-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web