Answer the question
In order to leave comments, you need to log in
How to open mailto link?
Please help, I need to open a mailto: link from python: in window 7, but when I do this webbrowser.open(mailto, new=1) IE opens, it says "this action could not be performed due to incorrect installation of the default mail client and starts to open a hundred empty windows. I checked in the control panel - everything is fine, the default client (The Bat) is installed there.
PS And when I say through chrome (which by the way is installed by the default browser, and not IE at all) I open mailto links - it opens quite normally in the default client. But if I manually open mailto in IE, then the same result as from python. Those. firstly, it is not clear why it opens in IE at all, and not in chrome, and secondly, some crap with IE.
Answer the question
In order to leave comments, you need to log in
It is not the browser that needs to be launched, but the system URI handler, on Windows this can be done via os.startfile.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question