Re: Outlook and e-mails
From: Ken Slovak - [MVP - Outlook] (kenslovak_at_mvps.org)
Date: 07/08/04
- Next message: jtague_at_cis.strath.ac.uk: "Generating automatic HTML email response to incoming emails in a standard format"
- Previous message: Ken Slovak - [MVP - Outlook]: "Re: Adding pre-defined ID to outlook message"
- In reply to: Miki Peric: "Outlook and e-mails"
- Next in thread: Miki Peric: "Re: Outlook and e-mails"
- Reply: Miki Peric: "Re: Outlook and e-mails"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Jul 2004 08:46:09 -0400
See http://www.outlookcode.com/d/code/zaphtml.htm#cw for an example of some
code that handles emails as they come into an Inbox. That can be the basis
for your starting point. You can then use code in that event handler that
detaches the Word attachments and saves them to the file system, which is
the only way to work with Outlook attachments. From that point you would
open the saved attachments in Word and use Word methods to print them. See
http://www.slovaktech.com/code_samples.htm#StripAttachments for an example
of how to detach and save attachments. That sample does it for the currently
selected items, but can be modified to handle any particular email item.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Miki Peric" <blah@ccc.com> wrote in message news:u86zKmMZEHA.3128@TK2MSFTNGP09.phx.gbl... > > I'd like to quickly develop small app that would print MS Word documents > received by e-mail. My fried is using Linux and asks me each day to print > for him some MS Word files. He would send me Word document with specific > words in the subject and when my Outlook "plug-in" recognize it - will print > it. Doesn anyone have some code samples? I'm beginner in Outlook > programming. Is the best way to do this to use VBA or COM or what else do > you suggest? > > Thanks in advance. > >
- Next message: jtague_at_cis.strath.ac.uk: "Generating automatic HTML email response to incoming emails in a standard format"
- Previous message: Ken Slovak - [MVP - Outlook]: "Re: Adding pre-defined ID to outlook message"
- In reply to: Miki Peric: "Outlook and e-mails"
- Next in thread: Miki Peric: "Re: Outlook and e-mails"
- Reply: Miki Peric: "Re: Outlook and e-mails"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|