python - Open a script on workspace with just a link -
automater sends out automated e-mail message contains several links.
the links provided call script different command line arguments depending on link clicked on.
so example e-mail this:
- zipped contents located @ link \\intranet\nightbuild: click1
- click on link unpack compressed files c:\somedirectory clicky2
- click on link unpack (somezip) file c:\somedirectory clicky3
this done on outlook.
<a href="file:///c:/users/nickb/desktop/somepython.py">click me!</a>
that's tried, instead opens python script , see contents.
opening links microsoft outlook automatically open file in correct manner, however, still had 1 problem, according link. microsoft outlook not allow edit html in outlook viewer, follows wysiwyg (what see get) philosophy.
thus html must handled python in mime header. if using smtplib python follow link , scroll bottom. example shown there.
note: have include mimetext, , mimemultipart handle smtp headers.
thank help.
Comments
Post a Comment