[python-win32] Catching Send To in Office

Vernon Cole vernondcole at gmail.com
Wed Mar 23 16:53:11 CET 2011


One of the executives where I used to work actually made use of the
¨send to" feature in Word.  The resulting bloat that appeared was
appalling, and IIRC the recipient had to have Word installed to read
the mail, when she finally imported it. Perhaps later versions of Word
do a better job.  Our answer was to teach the user to send e-mail
using a mail agent, not his word processor. YMMV.
--
Vernon


On Wed, Mar 23, 2011 at 7:59 AM, Mike Driscoll
<mdriscoll at co.marshall.ia.us> wrote:
> On 1:59 PM, Tim Roberts wrote:
>>
>> Mike Driscoll wrote:
>>>
>>> Does anyone know of a way to catch the "Send To Mail Recipient" in
>>> Microsoft Word or Excel? I want to redirect that to our web mail
>>> somehow.
>>
>> Well, let's brainstorm for a moment.  That link fires up the "default
>> mail provider" for your computer, which in found in the registry.
>> Theoretically, you ought to be able to rewrite that key to a browser
>> command that brings up your webmail page, or to an application that does
>> the same thing.  Check HKCU\Software\Clients\Mail or
>> HKLM\Software\Clients\Mail.
>>
>
> Well, on my PC  "HKLM\Software\Clients\Mail" is set to MS Outlook, but
> "HKCU\Software\Clients\Mail" is set to Thunderbird. If I right-click a file
> on my file system and send to to "Mail Recipient", it goes to Thunderbird.
> The Registry just has the name of the program in the keys, but nothing else.
>
> If I try to use the Send To inside MS Word, I get an error dialog that says
> the following:
>
> "Word could not load the e-mail envelope. This could be caused by a network
> connection problem or a problem with your Office installation."
>
> - Mike
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>


More information about the python-win32 mailing list