RQD: email text file

  • Thread starter Thread starter Mark Carter
  • Start date Start date
M

Mark Carter

Sometimes I have text files that are written as emails, containing a To,
From, Subject, and body.

It would be nice if there was a way I could email these text files via,
say, a speed menu item.

Any ideas?
 
Mark Carter said:
Sometimes I have text files that are written as emails,
containing a To, From, Subject, and body.

It would be nice if there was a way I could email these text
files via, say, a speed menu item.

Any ideas?

Sure, a small Python script could do the job. Requires some basic
Python knowledge and some time, of course. Hooking it up to a
right-click context menu command isn't really hard.

http://python.org/

http://www.activestate.com/Products/ActivePython/ for a Windows-
specific distribution with some extras

http://python.org/doc/2.4.1/lib/module-email.html is the
documentation for Python's "email" module.

http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows
_explorer.htm for instructions to add extra right-click context
menu commands.

Regards,
Wald

PS. I'm recommending Python because it's what I've worked with
before. The same could be done in Ruby, Perl, or whatever other
scripting language.
 
Mark Carter wrote:

: Sometimes I have text files that are written as emails, containing a To,
: From, Subject, and body.
:
: It would be nice if there was a way I could email these text files via,
: say, a speed menu item.
:
: Any ideas?

wald wrote:

: Sure, a small Python script could do the job. Requires some basic
: Python knowledge and some time, of course. Hooking it up to a
: right-click context menu command isn't really hard.

jmatt wrote:

: Customizing Right-Click Menu Options in Windows
: http://www.jfitz.com/tips/rclick_custom.html


Thanks for the tips. I found a way of adding it to the "Send To" menu
item - which seems an emininantly logical place to put it. Plus I've
written a Python script, too. I can make it available via
(browser-firendly) FTP if anyone's interested.
 
Back
Top