Re: outlook retrieving attachments from email and putting in a directory
From: Jan Persson (jpersson1_at_yahoo.com)
Date: 03/19/04
- Next message: Mal: "Outlook not syncing"
- Previous message: Sue: "Re: Tools Menu lost arms and legs!"
- In reply to: Brian Tillman: "Re: outlook retrieving attachments from email and putting in a directory"
- Next in thread: Jan Persson: "Re: outlook retrieving attachments from email and putting in a directory"
- Messages sorted by: [ date ] [ thread ]
Date: 19 Mar 2004 04:56:19 -0800
"Brian Tillman" <tillmabg@yahoo.com> wrote in message news:<uzShFOTDEHA.3236@TK2MSFTNGP09.phx.gbl>...
> Q X <qxz_77@yahoo.com> wrote:
>
> > Oh really? Is this possible using dos? How can I programmically (or
> > using a scripting language like tcl, perl, python) send email using a
> > PC?
>
> Visual Basic or C# would be appropriate languages to use. tcl, Python,
> perl, etc. are not. As to how to write them, perhaps
> microsoft.public.outlook.program_vba would be a better newsgroup.
I don't know much about Perl and Tcl, but Python actually handles Windows
specific API's very well and this makes it an excellent choice for
many applications. You can write services, automation servers and other
Windows stuff in Python which from the users perspective will taste and
smell exactly like it was written in C++.
As a small example you can use the COM integration to print the available
folders with the following code:
import win32com.client
object = win32com.client.Dispatch("Outlook.Application")
ns = object.GetNamespace("MAPI")
for f in ns.Folders: print f
As a more elaborate proof of concept you can take a look at SpamBayes which
is a spam filter integrated in Outlook which is written in Python.
http://starship.python.net/crew/mhammond/spambayes/
For more information about Python take a look at http://www.python.org/.
Kind regards
//Jan Persson
- Next message: Mal: "Outlook not syncing"
- Previous message: Sue: "Re: Tools Menu lost arms and legs!"
- In reply to: Brian Tillman: "Re: outlook retrieving attachments from email and putting in a directory"
- Next in thread: Jan Persson: "Re: outlook retrieving attachments from email and putting in a directory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|