Hello.
I would like to do a hypertext link on a GUI, which launch a per default
mail user agent (with the "to" header documented).
To launch an url in a web browser i use webbrowser.open(url).
Do exist an equivalent command to run the per default MUA (like ie
webbrowser.mail_open(to**@example.com)?
Thank's for your help.
--
Yann.K 9 2057
Yann.K wrote: Hello.
I would like to do a hypertext link on a GUI, which launch a per default mail user agent (with the "to" header documented). To launch an url in a web browser i use webbrowser.open(url). Do exist an equivalent command to run the per default MUA (like ie webbrowser.mail_open(to**@example.com)?
Thank's for your help.
webbrowser.open("mailto:ex*****@divmod.com") gives me a mozilla
browser and a mozilla compose window. I don't know of an existing way
to do better than that.
Jp
Jp Calderone wrote: Yann.K wrote: webbrowser.open("mailto:ex*****@divmod.com") gives me a mozilla browser and a mozilla compose window. I don't know of an existing way to do better than that.
Yes i tried already that, but it isn't very nice: two window for one
required...
Regards.
--
Yann.K
"Jp Calderone" wrote:
[opening the default MUA] webbrowser.open("mailto:ex*****@divmod.com") gives me a mozilla browser and a mozilla compose window. I don't know of an existing way to do better than that.
How can I use this syntax in order to specify also the body of the
mail?
--
XPN :: http://xpn.altervista.org
Nemesis <ne*@nowhere.invalid> wrote: "Jp Calderone" wrote:
[opening the default MUA] webbrowser.open("mailto:ex*****@divmod.com") gives me a mozilla browser and a mozilla compose window. I don't know of an existing way to do better than that.
How can I use this syntax in order to specify also the body of the mail?
Study the mailto: syntax on any HTML reference, e.g. http://docs.intellifuzz.com/readmore.php?p=39
Alex
"Alex Martelli" wrote:
[mailto trick] How can I use this syntax in order to specify also the body of the mail? Study the mailto: syntax on any HTML reference, e.g. http://docs.intellifuzz.com/readmore.php?p=39
Thank you for the link.
I tried that syntax, but it seems that Internet Explorer
doesn't support multiline bodies :-/
--
XPN :: http://xpn.altervista.org
Nemesis <ne*@nowhere.invalid> wrote: "Alex Martelli" wrote:
[mailto trick] How can I use this syntax in order to specify also the body of the mail? Study the mailto: syntax on any HTML reference, e.g. http://docs.intellifuzz.com/readmore.php?p=39
Thank you for the link. I tried that syntax, but it seems that Internet Explorer doesn't support multiline bodies :-/
Your choice is then to either upgrade to a better browser (IE has been
stagnant in features for years, resting on its laurels) or to drive IE
more intimately and "proprietarily" -- with win32com you can probably
make it turn somersaults, although your hair will whiten considerably
while you learn how to do so.
Alex
"Alex Martelli" wrote: Thank you for the link. I tried that syntax, but it seems that Internet Explorer doesn't support multiline bodies :-/
Your choice is then to either upgrade to a better browser (IE has been stagnant in features for years, resting on its laurels) or to drive IE more intimately and "proprietarily" -- with win32com you can probably make it turn somersaults, although your hair will whiten considerably while you learn how to do so.
Actually I use Firebird ;-)
I'm studying this syntax in order to implement it in XPN, the newsreader
I'm writing. I'd like to use it when the article has a
"Followup-To: poster".
So I need a simple and multiplatform solution.
However I found that I can use an encoded form of the newline (%0A) that
works with IE (I haven't tried yet with different browsers).I think I'll
use the urllib.quote function in order to obtain this coding.
--
XPN :: http://xpn.altervista.org
Nemesis <ne*@nowhere.invalid> wrote: "Alex Martelli" wrote:
Thank you for the link. I tried that syntax, but it seems that Internet Explorer doesn't support multiline bodies :-/ Your choice is then to either upgrade to a better browser (IE has been stagnant in features for years, resting on its laurels) or to drive IE more intimately and "proprietarily" -- with win32com you can probably make it turn somersaults, although your hair will whiten considerably while you learn how to do so.
Actually I use Firebird ;-)
Nice database engine, but not much of a browser. Maybe you mean
Firefox;-?
I'm studying this syntax in order to implement it in XPN, the newsreader I'm writing. I'd like to use it when the article has a
"Followup-To: poster".
So I need a simple and multiplatform solution.
However I found that I can use an encoded form of the newline (%0A) that works with IE (I haven't tried yet with different browsers).I think I'll use the urllib.quote function in order to obtain this coding.
Sounds sensible, offhand.
Alex
Mentre io pensavo ad una intro simpatica "Alex Martelli" scriveva: > Your choice is then to either upgrade to a better browser (IE has been > stagnant in features for years, resting on its laurels) or to drive IE > more intimately and "proprietarily" -- with win32com you can probably > make it turn somersaults, although your hair will whiten considerably > while you learn how to do so. Actually I use Firebird ;-)
Nice database engine, but not much of a browser. Maybe you mean Firefox;-?
You are right, but once Firefox was called Firebird, and before that it
was called Phoenix :-) I'm studying this syntax in order to implement it in XPN, the newsreader I'm writing. I'd like to use it when the article has a "Followup-To: poster". So I need a simple and multiplatform solution. However I found that I can use an encoded form of the newline (%0A) that works with IE (I haven't tried yet with different browsers).I think I'll use the urllib.quote function in order to obtain this coding. Sounds sensible, offhand.
I changed my mind of course :-D
Now I'm working to implement a simple mail support in XPN using smptlib.
:-)
--
Tutti possono vincere, sempreche' non esista un secondo posto.
|\ | |HomePage : http://nem01.altervista.org
| \|emesis |XPN (my nr): http://xpn.altervista.org This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: venkatesh |
last post by:
Hi Members,
I have used the below mentioned code to open a html page in a new
browser. The window size is 200 x 300. In that browser, I've given
code to open another browser of the same size....
|
by: VIJAY KUMAR |
last post by:
Hi pals,
I am using 2 web forms (pages). In first page, i have Datagrid control
and on second page i have a hyper link control to the first page and Add
value to the data grid/Database.
...
|
by: Bill |
last post by:
I have a datagrid that holds a whole list of records about computers. I need one column that is a hyperlink that when clicked will show the details of that computer model. The hyper link needs to...
|
by: Sheshadrinath R |
last post by:
Hello,
I want to open an excel workbook, which is present in the server. I want
to open this excel in the browser using ASP.NET. May I know, how can I do
this?
Will the File.Open() command work...
|
by: doris1202004 |
last post by:
I have divide three frames:
1 is the menu which show the choice a,b,c. on the left side this is a
typer-link
2 is the body frame which show the img on the right frame
3 is the sentense frame...
|
by: ajaspersonal |
last post by:
"i want to change font_style (hyper link<a href...>text</a>) normal to
italics.when load a page"
this is my problem
but
that label included in one 'USERCONTROL'
This user controls may...
|
by: simons |
last post by:
Hi All,
I'm trying to add a hyper link to one of the filed in my DataList
control.
I added a link button but could not bound it to an ID filed and then
link it to the page that i need.
I'm...
|
by: mclewell |
last post by:
i created an html hyper link field and clicking on the data in the
field produces a security warning pop up requiring a yes click before
the link is activated, is there a way to turn off this...
|
by: =?Utf-8?B?Q29kZVNsaW5nZXI=?= |
last post by:
I plan to build my own 2008 Server/Hyper-V system and will not be using one
of the tested Dell or HP systems from the release notes and could use some
pointers as to my assumnptions and answers to...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |